[buddypress-trac] [BuddyPress Trac] #8392: PHP 8.0 deprecated notice caused by the `BP_Groups_Invitation_Manager->run_acceptance_action()` method

buddypress-trac noreply at wordpress.org
Thu Nov 19 12:50:50 UTC 2020


#8392: PHP 8.0 deprecated notice caused by the
`BP_Groups_Invitation_Manager->run_acceptance_action()` 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 2nd-opinion  |
-----------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 The `BP_Groups_Invitation_Manager->run_acceptance_action()` method was
 wrongly using one optional arguments before a required one. As PHP 8.0 no
 longer accepts this practice, all arguments of the method will be
 required.

 Fixes #8392 (trunk)
 }}}

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


More information about the buddypress-trac mailing list