[wp-trac] [WordPress Trac] #27447: 'XML-RPC server accepts POST requests only.' returned by xml-rpc.php while doing_wp_cron.

WordPress Trac noreply at wordpress.org
Sat Sep 26 04:50:08 UTC 2015


#27447: 'XML-RPC server accepts POST requests only.' returned by xml-rpc.php while
doing_wp_cron.
--------------------------+-----------------------------
 Reporter:  sduval        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  XML-RPC       |     Version:  3.8.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"34576"]:
 {{{
 #!CommitTicketReference repository="" revision="34576"
 Cron: In `spawn_cron()`, when using `ALTERNATE_WP_CRON`, return early for
 any non-`GET`, instead of naively checking `! empty( $_POST )`.

 Props johnbillion, markoheijnen.
 Fixes #27447.
 }}}

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


More information about the wp-trac mailing list