[wp-trac] [WordPress Trac] #25089: XML-RPC server wrongly conflates post_status "future" with "publish"

WordPress Trac noreply at wordpress.org
Sat Sep 13 17:58:45 UTC 2014


#25089: XML-RPC server wrongly conflates post_status "future" with "publish"
--------------------------------------+---------------------------
 Reporter:  kailasa                   |       Owner:  markoheijnen
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  XML-RPC                   |     Version:  3.4
 Severity:  normal                    |  Resolution:  invalid
 Keywords:  2nd-opinion dev-feedback  |     Focuses:
--------------------------------------+---------------------------

Comment (by kailasa):

 Understood on the REST API. looking at the codex documentation, and to
 make one last "on it's death bed" suggestion in case this point I'm trying
 to make ever gets revisited: you could add "future" to the struct array
 output, and I doubt this would break any legacy code. But at least if we
 the response was:

 array(
   'draft'   => 'Draft',
   'pending' => 'Pending Review',
   'private' => 'Private',
   'publish' => 'Published',
   'future'  => 'future'
 );

 The developer could use that....

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


More information about the wp-trac mailing list