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

WordPress Trac noreply at wordpress.org
Fri Mar 5 11:02:09 UTC 2021


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

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


Comment:

 In [changeset:"50499" 50499]:
 {{{
 #!CommitTicketReference repository="" revision="50499"
 XML-RPC: Pass an empty array to the `xmlrpc_call` action in methods that
 have no arguments.

 This avoids an "Undefined variable" PHP notice in the
 `::mt_supportedMethods()` and `::mt_supportedTextFilters()` methods.

 Follow-up to [50353].

 Props dd32.
 Fixes #52524.
 }}}

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


More information about the wp-trac mailing list