Skip to:
Content

bbPress.org

Opened 12 years ago

Closed 11 years ago

Last modified 3 years ago

#2718 closed defect (bug) (fixed)

`BBP_Forums_Group_Extension::display()` should take `$group_id` param

Reported by: boonebgorges Owned by: johnjamesjacoby
Priority: normal Milestone: 2.5.8
Component: Extend - BuddyPress Version: 2.0
Severity: normal Keywords: has-patch
Cc:

Description

See https://buddypress.trac.wordpress.org/ticket/5533#comment:7. PHP notices will be thrown in strict mode if the class definition doesn't match the parent. (Sorry :) ) Patch attached.

Attachments (1)

2718.patch (681 bytes ) - added by boonebgorges 12 years ago.

Download all attachments as: .zip

Change History (11)

@boonebgorges
12 years ago

#1 @boonebgorges
12 years ago

  • Keywords has-patch added

#2 @netweb
12 years ago

  • Milestone Awaiting Review2.6
  • Owner set to johnjamesjacoby

Thanks Boone :)

#3 @johnjamesjacoby
12 years ago

  • Resolutionfixed
  • Status newclosed

In 5560:

Match up arguments with parent class method to avoid notices. Props boonebgorges. Fixes #2718.

This ticket was mentioned in Slack in #buddypress by boone. View the logs.


12 years ago

#5 follow-up: @danbp
12 years ago

  • Resolution fixed
  • Status closedreopened
  • Version2.5.5

#6 in reply to: ↑ 5 @johnjamesjacoby
12 years ago

Replying to danbp:

Just to inform you that this patch is not in 2.5.5 !

https://bbpress.trac.wordpress.org/browser/tags/2.5.5/includes/extend/buddypress/groups.php#L151

Correct. This ticket is in the 2.6 milestone. Just like with BuddyPress & WordPress, x.x.x releases are reserved for relatively critical bug fixes to the x.x branch.

#7 @danbp
12 years ago

Thank you @jjj, but sorry to come back to tell that the notice is still there after patching.

WP 4.1.1
BP 2.2.1
bbP 2.5.5
Theme Twenty Twelve
PHP 5.5.12

#8 @johnjamesjacoby
12 years ago

You are correct. The fix was not applied to the 2.5 branch of code, so no fix was packaged into 2.5.5. It is in trunk, and will be in 2.6.

#9 @netweb
11 years ago

  • Resolutionfixed
  • Status reopenedclosed
  • Version 2.5.52.0

Setting this back to fixed again, as noted above these changes are in the 2.6 branch.

#10 @netweb
11 years ago

  • Milestone 2.62.5.8

This was added to the 2.5 branch in r5807 and will ship as part of bbPress 2.5.8

Note: See TracTickets for help on using tickets.