[wp-trac] [WordPress Trac] #39752: Customize: add a post editing flow
WordPress Trac
noreply at wordpress.org
Tue Jan 31 20:09:16 UTC 2017
#39752: Customize: add a post editing flow
-------------------------+-----------------------------
Reporter: mattwiebe | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version:
Severity: normal | Keywords:
Focuses: ui |
-------------------------+-----------------------------
The Customizer has always prevented following any non-frontend links in
the preview, which has disabled post links provided by `edit_post_link()`
from working. This was worked around in #38648 by no-op'ing the edit
links.
One approach to solving this problem would be to bring post editing into
the Customizer, which has been explored: https://github.com/xwp/wp-
customize-posts
Another approach would be:
1. Navigate to the appropriate edit post screen when an `edit_post_link()`
is clicked on
2. Before 1), save a Customize changeset if the state is unsaved
3. Provide a UI on the edit posts screen to return to the Customizer after
editing is complete
4. When returning to the Customizer, restore the changeset stored in 2) if
one was needed.
This would solve the problems of there being no way to edit posts from the
Customizer, while not trying to stuff a (duplicate) post editing UI into a
space that is not well-suited to it.
This could also help to editing posts created in nav menus #38002
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39752>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list