[wp-trac] [WordPress Trac] #48267: IXR: Modernize IXR library

WordPress Trac noreply at wordpress.org
Tue Jun 30 19:49:04 UTC 2020


#48267: IXR: Modernize IXR library
----------------------------+---------------------
 Reporter:  kraftbj         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.5
Component:  XML-RPC         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-dev-note  |     Focuses:
----------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"48238" 48238]:
 {{{
 #!CommitTicketReference repository="" revision="48238"
 Code Modernization: Introduce the spread operator in `WP_HTTP_IXR_Client`.

 Rather than relying `func_get_args()` to retrieve arbitrary function
 arguments, we can now use the spread operator to assign them directly to a
 variable.

 This makes the signature of `WP_HTTP_IXR_Client::query()` compatible with
 the parent class method.

 Follow-up to [48204].

 Props ayeshrajans.
 See #48267, #47678.
 }}}

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


More information about the wp-trac mailing list