[wp-trac] [WordPress Trac] #42220: The draft page cannot see Customizing Homepage Settings makes Add New Page

WordPress Trac noreply at wordpress.org
Sun Oct 15 02:35:02 UTC 2017


#42220: The draft page cannot see Customizing Homepage Settings makes Add New Page
--------------------------+--------------------
 Reporter:  nukaga        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by westonruter):

 * milestone:  Awaiting Review => 4.9


Comment:

 You raise an interesting point. Technically the pages created have the
 `auto-draft` status, ensuring that they only appear in the context of a
 set of customized changes. When you do something in the Customizer, it
 should not have any impact outside the Customizer until you hit Publish.
 Nevertheless, we don't yet have a core workflow for editing posts and
 pages in the Customizer (while this is something you can do with the
 Customize Posts plugin). This is being explored in #39752 and will be a
 focus when integrations Gutenberg with customization. However, in the mean
 time I wonder if we should transition posts and pages created in the
 Customizer to drafts instead of auto-drafts if the changeset is saved as a
 draft or scheduled. Not only would this allow the user to edit it in the
 admin, but it would also fix a defect that I realize we didn't get
 incorporate from Customize Snapshots: when saving a changeset as a draft,
 the Customize Snapshots plugin will transition any such posts to a
 `customized-draft` so that they will not get garbage collected after a
 week like regular auto-drafts do. So we could do the same in core, to
 introduce this customized-draft status and then allow this status to
 appear in the post list tables. When editing such a post or page, we could
 also include a link to the Customizer to continue editing other changes in
 the changeset.

 @melchoyce thoughts?

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


More information about the wp-trac mailing list