[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:29:59 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:  closed
 Priority:  normal        |   Milestone:  6.4.0
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12788" 12788]:
 {{{
 #!CommitTicketReference repository="" revision="12788"
 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.

 Fixes #8393 (trunk)
 }}}

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


More information about the buddypress-trac mailing list