[wp-trac] [WordPress Trac] #25457: Add a filter to the Close link in wp-admin/customize.php
WordPress Trac
noreply at wordpress.org
Thu Oct 3 01:00:43 UTC 2013
#25457: Add a filter to the Close link in wp-admin/customize.php
-----------------------------------------------+---------------------------
Reporter: birgire | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Appearance | Review
Severity: normal | Version: 3.6.1
Keywords: has-patch close reporter-feedback | Resolution:
-----------------------------------------------+---------------------------
Comment (by birgire):
Hi Helen, thanks for your comment.
My user-experience is that the ''Theme Customizer'' feels like a
fullscreen popup with a close button.
When I close it, I expect to go back to the previous page.
Let's say the user is on the page {{{/wp-admin/widgets.php}}} and clicks
on the ''Theme Customizer'' link in the admin menu. The ''Theme
Customizer'' opens up and when the user closes it, he's taken to the page
{{{/wp-admin/themes.php}}} instead of the page {{{/wp-admin/widgets.php}}}
where he started.
So this is the case when {{{$return}}} is empty.
By having a filter on the ''Close'' link, the user could for example use
the ''referred'' page instead.
Or better yet, use the referred page instead of the default {{{admin_url(
'themes.php' )}}}.
I should have described this better in the first place, I hope this makes
sense ;-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25457#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list