[wp-trac] [WordPress Trac] #38615: Round out and refine starter content
WordPress Trac
noreply at wordpress.org
Fri Nov 18 18:15:53 UTC 2016
#38615: Round out and refine starter content
----------------------------+------------------
Reporter: helen | Owner:
Type: task (blessed) | Status: new
Priority: high | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------
Comment (by flixos90):
As discussed in https://wordpress.slack.com/archives/core-
media/p1479488594000409, it's currently not possible to set an attachment
to the post status `auto-draft`. This was causing previous patches to
immediately have the starter content images show up in the media library.
[attachment:38615.6.diff] removes that limitation from the
`wp_insert_post()` function by including `auto-draft` in the whitelist for
attachment post statuses. The starter content media workflow worked
correctly for me after applying this change.
@joemcgill Do you have any reservations regarding this? Why was this
prevented in the first place?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38615#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list