[wp-trac] [WordPress Trac] #28570: Introduce pretty permalinks for Customizer

WordPress Trac noreply at wordpress.org
Wed Jun 18 06:15:06 UTC 2014


#28570: Introduce pretty permalinks for Customizer
-------------------------+----------------------------
 Reporter:  westonruter  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Appearance   |    Version:  3.4
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:  ui           |
-------------------------+----------------------------
 In #28536, celloexpressions
 [https://core.trac.wordpress.org/ticket/28536#comment:3 suggests]:

 > it would be nice if users could see the URL being previewed in a
 readable manner. And it would be cool if the url was more contextual to
 the page being customized. What about implementing support for
 http://example.com/sample-page/customize-like URLs, similar to what the
 front-end editor does?

 Currently, when previewing a specific URL, this URL appears in the `url`
 query parameter and is URL-encoded—making it unreadable. While a
 `customize` rewrite endpoint is one approach, for example:

 {{{
 /2014/04/01/hello-world/customize/
 }}}

 This could potentially introduce conflicts with existing rewrite rules.
 Another approach would be to introduce a new rewrite base, for example:

 {{{
 /wp-customize/2014/04/01/hello-world/
 }}}

 Special care will be needed when the domain of the admin is different than
 the domain for the site appearing in the preview.

 Note that any `return` or `theme` query parameters would need to remain
 attached to the above URL:

 {{{
 /wp-customize/?return=http%3A%2F%2Fexample.com%2Fwp-admin%2F
 }}}

 See also #25457

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28570>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list