[wp-trac] [WordPress Trac] #39100: Customize: Edit shortcuts do not work if page hasn't been saved and published

WordPress Trac noreply at wordpress.org
Tue Dec 6 17:03:44 UTC 2016


#39100: Customize: Edit shortcuts do not work if page hasn't been saved and
published
---------------------------+-------------------------
 Reporter:  davidakennedy  |       Owner:  sirbrillig
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  4.7.1
Component:  Customize      |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+-------------------------

Comment (by sirbrillig):

 Looking into it. Definitely the click handler is not being added when a
 page section is refreshed. The following patch seems to fix the issue in
 my tests, which is a little odd. The patch just adds the click handler
 before the button is appended to the page. Since the reference should be
 maintained I don't know why that would work but my tests showed that the
 handler wasn't being removed; it looked like it was just not being added.

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


More information about the wp-trac mailing list