[wp-trac] [WordPress Trac] #42337: Unregistering the Publish Settings section prevents changes from being published

WordPress Trac noreply at wordpress.org
Wed Oct 25 21:44:53 UTC 2017


#42337: Unregistering the Publish Settings section prevents changes from being
published
-------------------------------------+--------------------------
 Reporter:  westonruter              |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.9
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42025"]:
 {{{
 #!CommitTicketReference repository="" revision="42025"
 Customize: Register the Publish Settings section in JS to ensure it does
 not get unregistered via PHP.

 The `publish_settings` section is a fundamental dependency for Customizer,
 so it must be guaranteed to be registered.

 Also unconditionally register core types for panels, sections, and
 controls in case plugin unhooks all `customize_register` actions.

 See #39896.
 Fixes #42337.
 }}}

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


More information about the wp-trac mailing list