[buddypress-trac] [BuddyPress Trac] #8393: PHP 8.0 deprecated notice caused by the `BP_Groups_List_Table->column_content_group_type` method

buddypress-trac noreply at wordpress.org
Sat Nov 14 14:27:54 UTC 2020


#8393: PHP 8.0 deprecated notice caused by the
`BP_Groups_List_Table->column_content_group_type` method
--------------------------+-----------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.4.0
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by imath):

 In [changeset:"12787" 12787]:
 {{{
 #!CommitTicketReference repository="" revision="12787"
 Groups: Avoid a PHP 8.0 deprecated notice about optional function arg.

 The `BP_Groups_List_Table->column_content_group_type` method was wrongly
 using one optional arguments before two required ones. As PHP 8.0 no
 longer accepts this practice, all arguments of the method will be
 optional.

 See #8393 (branch 6.0)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8393#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list