[wp-trac] [WordPress Trac] #52524: Add extra context to the `xmlrpc_call` action

WordPress Trac noreply at wordpress.org
Fri Mar 5 06:04:21 UTC 2021


#52524: Add extra context to the `xmlrpc_call` action
--------------------------+-----------------------------
 Reporter:  dd32          |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  5.7
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by dd32):

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


Comment:

 Re-opening for PR 1073 above, my PR incorrectly used `$args` for two
 methods which have no args. This patch simply replaces it with an empty
 array.

 Fixes the following PHP Notices:
 {{{
 E_NOTICE: Undefined variable: args in wp-includes/class-wp-xmlrpc-
 server.php:6652
 E_NOTICE: Undefined variable: args in wp-includes/class-wp-xmlrpc-
 server.php:6664
 }}}

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


More information about the wp-trac mailing list