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

WordPress Trac noreply at wordpress.org
Tue May 25 05:19:09 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:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

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


Comment:

 In [changeset:"50989" 50989]:
 {{{
 #!CommitTicketReference repository="" revision="50989"
 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.
 Merges [50954] in to the 5.7 branch.
 Fixes #52958.
 }}}

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


More information about the wp-trac mailing list