[wp-trac] [WordPress Trac] #8216: screen_meta and plugins : ??!!
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 14 23:42:01 GMT 2008
#8216: screen_meta and plugins : ??!!
----------------------------+-----------------------------------------------
Reporter: arena | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
screen_meta and plugins :
from last trunk, now screen_meta is called in
/wp-admin/admin-header.php
94 screen_meta($pagenow, $hook_suffix);
where
$pagenow is (for a new admin menu) admin.php
and $hook_suffix = myplugin/toto.php
in
/wp-admin/includes/template.php
3180 function screen_meta($screen, $suffix = '') {
3181 global $wp_meta_boxes;
3182
3183 $screen = str_replace('.php', '', $screen);
so now all my metaboxes must refer to 'admin' or to the file of the main
menu ... not cool !
3222 $help['post'] = __('<a
href="http://codex.wordpress.org/Writing_Posts" target="_blank">Writing
Posts</a>');
3223 $help['general-settings'] = __('<a
href="http://codex.wordpress.org/Settings_General_SubPanel"
target="_blank">General Settings</a>');
i would appreciate to have something like
$help = apply_filters('contextual_help_link', $help, $screen, $suffix);
what do you think !
--
Ticket URL: <http://trac.wordpress.org/ticket/8216>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list