[wp-trac] [WordPress Trac] #37570: Parameter 1 to wp_handle_upload_error() expected to be a reference, value given

WordPress Trac noreply at wordpress.org
Tue Aug 9 19:40:29 UTC 2016


#37570: Parameter 1 to wp_handle_upload_error() expected to be a reference, value
given
--------------------------------------------+--------------------
 Reporter:  jbrinley                        |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  4.6
Component:  Media                           |     Version:  trunk
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+--------------------

Comment (by jorbin):

 It's also worth noting that this will fail in 7.1 according to the
 [https://github.com/php/php-src/blob/php-7.1.0beta2/UPGRADING upgrading
 file]:

 {{{
   . call_user_func() will now consistently fail to perform calls to
 functions
     that accept reference arguments. Previously this sometimes worked if
     call_user_func() was used outside a namespace.
 }}}

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


More information about the wp-trac mailing list