[wp-trac] [WordPress Trac] #39221: Customize: Prevent setting previewing logic when settings will be saved

WordPress Trac noreply at wordpress.org
Thu May 18 15:51:22 UTC 2017


#39221: Customize: Prevent setting previewing logic when settings will be saved
--------------------------+-----------------------------
 Reporter:  westonruter   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by stubgo):

 @westonruter When manipulating the changeset via an endpoint the
 `WP_Customize_Manager` is initialized per each changeset and also the
 `WP_Customize_Setting::preview()` is called for relevant settings. It
 seems that when a changeset is created for deleting a menu and then this
 changeset is published, the menu is not actually deleted.

 Seems that it does need preventing previewing logic. (Thanks for tagging
 me here.)

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


More information about the wp-trac mailing list