[wp-trac] [WordPress Trac] #52958: The XML-RPC endpoint returns 404 rather than 200

WordPress Trac noreply at wordpress.org
Mon May 24 02:17:51 UTC 2021


#52958: The XML-RPC endpoint returns 404 rather than 200
---------------------------------------------+----------------------------
 Reporter:  ariskataoka                      |       Owner:  peterwilsoncc
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.7.3
Component:  XML-RPC                          |     Version:  5.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50954" 50954]:
 {{{
 #!CommitTicketReference repository="" revision="50954"
 XML-RPC: Set HTTP status code in accordance with the spec.

 When the XML-RPC endpoint is enabled, always return a HTTP `200 OK` status
 code in accordance with the XML-RPC specification. Continue to return an
 HTTP `405 Method Not Allowed` status code when the endpoint is disabled.

 Props ariskataoka, johnbillion.
 Fixes #52958.
 }}}

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


More information about the wp-trac mailing list