[wp-trac] [WordPress Trac] #48312: PHP4 notation for passing object by reference broken

WordPress Trac noreply at wordpress.org
Tue Oct 22 00:09:51 UTC 2019


#48312: PHP4 notation for passing object by reference broken
-------------------------------------------+-----------------------------
 Reporter:  david.binda                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  5.3
Component:  Plugins                        |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"46568" 46568]:
 {{{
 #!CommitTicketReference repository="" revision="46568"
 Plugins: Restore backward compatibility for PHP4-style passing of `array(
 &$this )` as action argument to `do_action()`.

 This is a follow-up to [46149] to avoid unnecessary breakage in case of
 using the old notation.

 Props david.binda, jrf.
 Reviewed by azaozz.
 Fixes #48312.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48312#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list