[wp-trac] [WordPress Trac] #64479: XML-RPC addTwoNumbers needs to check arg types

WordPress Trac noreply at wordpress.org
Fri Jan 9 20:31:08 UTC 2026


#64479: XML-RPC addTwoNumbers needs to check arg types
--------------------------------------+--------------------------
 Reporter:  josephscott               |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  7.0
Component:  XML-RPC                   |     Version:  1.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"61460" 61460]:
 {{{
 #!CommitTicketReference repository="" revision="61460"
 XML-RPC: Update `addTwoNumbers` demo method to check args prior to adding.

 Invalid args now cause an `IXR_Error` to be returned.

 Comprehensive unit tests are also added for the method.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10690

 Follow-up to [1348].

 Props josephscott, westonruter.
 Fixes #64479.
 }}}

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


More information about the wp-trac mailing list