[wp-trac] [WordPress Trac] #39896: Customizer: Allow users to Draft changes before Publishing

WordPress Trac noreply at wordpress.org
Wed Oct 11 05:41:16 UTC 2017


#39896: Customizer: Allow users to Draft changes before Publishing
-------------------------------------------------+-------------------------
 Reporter:  melchoyce                            |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  high                                 |      Status:  closed
Component:  Customize                            |   Milestone:  4.9
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:  fixed
  tests ui-feedback                              |     Focuses:  ui
-------------------------------------------------+-------------------------

Comment (by westonruter):

 In [changeset:"41824"]:
 {{{
 #!CommitTicketReference repository="" revision="41824"
 Customize: Introduce `WP_Customize_Manager::trash_changeset_post()` to
 reduce duplication and ensure proper changeset trashing logic.

 Trashing a changeset via `wp_trash_post()` does not have the desired
 result since it mutates `post_content` (via Kses) and the `post_name`
 (even though it is a UUID).

 Props dlh.
 See #39896, #42030.
 Fixes #42175.
 }}}

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


More information about the wp-trac mailing list