Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690

git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-10-03 04:00:57 +00:00
parent d6f613fcd3
commit 98554b4bb6
21 changed files with 226 additions and 190 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ do_action('do_meta_boxes', 'link', 'normal', $link);
do_action('do_meta_boxes', 'link', 'advanced', $link);
do_action('do_meta_boxes', 'link', 'side', $link);
add_screen_option('layout_columns', array('max' => 2, 'default' => 'auto') );
$current_screen->add_option('layout_columns', array('max' => 2, 'default' => 'auto') );
$current_screen->add_screen_options(
$current_screen->add_option_context(
'<p>test</p>'
);