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

WordPress Trac noreply at wordpress.org
Fri Mar 5 11:05:01 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:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50500" 50500]:
 {{{
 #!CommitTicketReference repository="" revision="50500"
 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.
 Reviewed by dd32, SergeyBiryukov.
 Merges [50499] to the 5.7 branch.
 Fixes #52524.
 }}}

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


More information about the wp-trac mailing list