[wp-trac] [WordPress Trac] #25457: Add a filter to the Close link in wp-admin/customize.php

WordPress Trac noreply at wordpress.org
Wed Jun 18 05:04:08 UTC 2014


#25457: Add a filter to the Close link in wp-admin/customize.php
-------------------------+------------------
 Reporter:  birgire      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Appearance   |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui
-------------------------+------------------
Changes (by westonruter):

 * keywords:  has-patch close => needs-patch
 * focuses:   => ui
 * version:  3.6.1 => 3.4
 * milestone:  Awaiting Review => 4.0


Comment:

 This issue has been disorienting for me as well, and it is confusing since
 the frontend behavior—clicking Customize from the Admin Bar—results in
 returning the user back to that same originating page from which they
 clicked Customize.

 So I love this approach (as [comment:7 birgire commented above]):
 > **a)** I wonder if it would make sense to replace {{{customize.php}}}
 with {{{customize.php?url=#current_page_url#}}}
 > in the admin-menu. **Example:** if we are on the admin page
 {{{widgets.php}}} then the admin menu link for ''Customize'' will be
 {{{customize.php?url=widgets.php}}}.

 It implements the same behavior when clicking Customize from the admin
 menu in the backend as when clicking Customize from the admin bar in the
 frontend.

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


More information about the wp-trac mailing list