[wp-trac] [WordPress Trac] #18722: Missing link to edit term objects of non-public taxonomy

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 23 18:51:00 UTC 2011


#18722: Missing link to edit term objects of non-public taxonomy
--------------------------+---------------------
 Reporter:  johnbillion   |       Owner:  duck_
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.3
Component:  Taxonomy      |     Version:  3.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by nacin):

 The issue is that WP_Screen is not necessarily the current screen. Only if
 we are relying on the global hook_suffix do we know that we can actually
 glean something off of the URL. Otherwise it may be a convert_to_screen()
 call for a meta box (for example) that doesn't even belong on that page.

 I've thought about ways to tweak the architecture of WP_Screen to allow us
 to indicate when we *do* want to calculate things off $_REQUEST, because
 of the current order of operations prevents us from knowing at
 WP_Screen::get() time that we want it for the current screen. We had a
 usage of set_current_screen( $hook_name ) in an ajax request but found we
 could get rid of it, rather than fixing this root problem.

 I think what we need is WP_Screen::ajax( $hook_name ), which will use
 ::get()'s innards. Definitely 3.4.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18722#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list