[wp-trac] [WordPress Trac] #49905: Correct return type for xmlrpc_getposttitle() and xmlrpc_getpostcategory()

WordPress Trac noreply at wordpress.org
Thu Oct 29 16:57:59 UTC 2020


#49905: Correct return type for xmlrpc_getposttitle() and xmlrpc_getpostcategory()
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  5.6
Component:  XML-RPC         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------

Comment (by whyisjake):

 In [changeset:"49376" 49376]:
 {{{
 #!CommitTicketReference repository="" revision="49376"
 XML-RPC: Return error message if attachment ID is incorrect.

 Throw an error for incorrect attachment IDs when requesting a media object
 to ensure return signature is correct and doesn't include incorrectly
 typed values within the object.

 Props zieladam, peterwilsoncc, whyisjake.
 See #49905.
 }}}

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


More information about the wp-trac mailing list