[wp-trac] [WordPress Trac] #39175: Customizer assumes url is passed with replaceState and pushState
WordPress Trac
noreply at wordpress.org
Fri Dec 9 01:58:20 UTC 2016
#39175: Customizer assumes url is passed with replaceState and pushState
---------------------------+-----------------------------------------
Reporter: Christian1012 | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.1
Component: Customize | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript, administration
---------------------------+-----------------------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"39547"]:
{{{
#!CommitTicketReference repository="" revision="39547"
Customize: Allow (optional) `url` parameter to be omitted in intercepted
calls to `history.pushState()` and `history.replaceState()` in customize
preview.
Fixes issue where calls without the `url` parameter erroneously end up
rewriting the location path to `/undefined`.
Props Christian1012, westonruter.
Fixes #39175.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39175#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list