[wp-trac] [WordPress Trac] #39175: Customizer assumes url is passed with replaceState and pushState
WordPress Trac
noreply at wordpress.org
Mon Dec 12 02:10:32 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 commit fixed- | Focuses: javascript,
major | administration
-------------------------------------+-------------------------------------
Changes (by dd32):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"39574"]:
{{{
#!CommitTicketReference repository="" revision="39574"
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.
Merges [39547] to the 4.7 branch.
Fixes #39175.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39175#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list