WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18433, comment 11


Ignore:
Timestamp:
09/30/2011 11:57:25 AM (7 years ago)
Author:
daniloercoli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18433, comment 11

    initial v1  
    1111I'm not sure we can expose the complete set of statuses because of the following reasons:
    1212- The statuses list returned by calling wp.getPostStatusList contains only 'draft', 'pending', 'private' and 'publish'.
    13 - I'm not sure you can modify a post by setting its status to something different from draft, publish, pending, private.
     13- Most probably you can't modify a post by setting its status to something different from draft, publish, pending, private.