[wp-trac] [WordPress Trac] #42414: Customize: Call to history.replaceState() before DOM ready in customizer preview causes error

WordPress Trac noreply at wordpress.org
Thu Nov 2 19:26:26 UTC 2017


#42414: Customize: Call to history.replaceState() before DOM ready in customizer
preview causes error
-------------------------------------------+--------------------------
 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 commit dev-reviewed  |     Focuses:
-------------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"42108"]:
 {{{
 #!CommitTicketReference repository="" revision="42108"
 Customize: Prevent `history.replaceState()` and `history.pushState()`
 calls from causing error in customize preview before DOM ready.

 Amends [41597].
 See #39896.
 Fixes #42414.
 }}}

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


More information about the wp-trac mailing list