Andrew Nacin
|
ef6564d7cb
|
s/Screen Info/Overview/g, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19503 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-12-01 00:34:31 +00:00 |
Andrew Nacin
|
c754f4636f
|
'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19493 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-30 20:58:39 +00:00 |
Andrew Nacin
|
2b6fd8ceee
|
WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: https://develop.svn.wordpress.org/trunk@19471 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-28 22:58:51 +00:00 |
Andrew Nacin
|
82ae22f947
|
Use a scalpel to dissect names passed to convert_to_screen(). Carefully watch for post type names, suffixes we need to detect and remove, and when we need to remove 'edit-' from the start of a hookname. see #19353.
git-svn-id: https://develop.svn.wordpress.org/trunk@19468 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-28 18:33:40 +00:00 |
Daryl Koopersmith
|
3150c3cf4e
|
Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: https://develop.svn.wordpress.org/trunk@19430 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-23 22:14:03 +00:00 |
Ryan Boren
|
16c72e9e47
|
Move convert_to_screen() back to template.php to avoid fatal errors with plugins and themes that direct include template.php into the front end. Flag this bad behavior with _doing_it_wrong(). Props nacin. fixes #19342
git-svn-id: https://develop.svn.wordpress.org/trunk@19428 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-23 21:29:33 +00:00 |
Andrew Nacin
|
4d89846637
|
Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: https://develop.svn.wordpress.org/trunk@19418 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-23 18:30:45 +00:00 |
Andrew Nacin
|
361125eaf8
|
Remove $post_type global usage from media list table. Correct $post_type to 'attachment' for upload screens. see #18722.
git-svn-id: https://develop.svn.wordpress.org/trunk@19385 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-21 20:48:57 +00:00 |
Daryl Koopersmith
|
2ac5299c17
|
Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: https://develop.svn.wordpress.org/trunk@19361 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-20 01:03:17 +00:00 |
Ryan Boren
|
f626327800
|
Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: https://develop.svn.wordpress.org/trunk@19321 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-17 18:01:08 +00:00 |
Andrew Nacin
|
3de47877d6
|
Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: https://develop.svn.wordpress.org/trunk@19185 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-06 18:13:06 +00:00 |
Andrew Nacin
|
731127e61b
|
Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19155 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-04 15:06:11 +00:00 |
Andrew Nacin
|
53891da7c8
|
Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19154 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-04 15:04:58 +00:00 |
Andrew Nacin
|
14c3606e1f
|
Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19132 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-03 23:00:46 +00:00 |
Andrew Ozz
|
e3cb75932b
|
Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19131 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-03 20:26:09 +00:00 |
Andrew Ozz
|
882574b78c
|
Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19130 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-03 17:08:12 +00:00 |
Andrew Nacin
|
33ee9a7d04
|
s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-02 20:14:10 +00:00 |
Andrew Nacin
|
c69f53c37d
|
Reverse variable assignment order. D'oh. see #19108.
git-svn-id: https://develop.svn.wordpress.org/trunk@19113 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-02 04:24:17 +00:00 |
Andrew Nacin
|
45c23f2fcf
|
Use more obvious variables in WP_Screen. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19108 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-01 21:36:04 +00:00 |
Andrew Nacin
|
3a15274807
|
Always run the old contextual_help filter. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19098 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-31 21:37:43 +00:00 |
Andrew Nacin
|
d91bf70dd7
|
Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19097 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-31 21:28:17 +00:00 |
Andrew Nacin
|
8d01fc1f9a
|
Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19092 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-31 16:57:29 +00:00 |
Andrew Nacin
|
fa00acb382
|
Add missing keyword. fixes #19046, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19064 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 16:05:39 +00:00 |
Andrew Nacin
|
219bc246bc
|
Make convert_to_screen() more resilient. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19063 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 06:54:23 +00:00 |
Ryan Boren
|
fd10e500e4
|
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-24 19:13:23 +00:00 |
Ryan Boren
|
5fecc93721
|
Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19053 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-24 19:10:56 +00:00 |
Andrew Nacin
|
cc5f01a784
|
Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785. also fixes #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19052 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-24 18:34:08 +00:00 |
Andrew Nacin
|
16c6875d29
|
screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19051 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-24 06:40:15 +00:00 |
Andrew Nacin
|
38440b5e9a
|
Deprecate favorite_actions(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19050 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-24 06:10:36 +00:00 |
Andrew Nacin
|
de3bf760b6
|
Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19049 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-23 19:22:27 +00:00 |
Andrew Nacin
|
6c8c746dbc
|
Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 21:43:21 +00:00 |
Andrew Nacin
|
103666d6b3
|
Restore object handling in add_contextual_help(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18950 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-12 16:24:55 +00:00 |
Andrew Nacin
|
bdc8ac11ea
|
Don't instantiate WP_Screen in convert_to_screen() for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18949 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-12 16:22:50 +00:00 |
Andrew Nacin
|
beb1613be7
|
Restore $screen argument for contextual_help* filters. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18945 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-11 21:45:28 +00:00 |
Andrew Nacin
|
3940109c7f
|
Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18943 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-11 21:32:16 +00:00 |
Andrew Nacin
|
8f0389b3e9
|
Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18941 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-11 19:29:09 +00:00 |
Andrew Nacin
|
bc94322a01
|
Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18915 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-07 05:26:44 +00:00 |
Andrew Nacin
|
fa861b4bf3
|
Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18914 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-07 05:23:33 +00:00 |
Andrew Nacin
|
e6292eed96
|
Remove redundant help tab title from the tab body. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18913 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-07 05:00:38 +00:00 |
Andrew Nacin
|
2efff75050
|
Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-07 04:57:12 +00:00 |
Daryl Koopersmith
|
d9d201289e
|
Refine new help styles. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18896 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-05 23:15:19 +00:00 |
Andrew Ozz
|
22f4cdc7d7
|
Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-05 18:46:21 +00:00 |
Andrew Ozz
|
fec0286bb3
|
Make $current_screen->add_option() easier to use, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18879 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-04 17:21:59 +00:00 |
Andrew Ozz
|
fee1fe1b36
|
Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18874 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-04 03:32:12 +00:00 |
Andrew Ozz
|
98554b4bb6
|
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
|
2011-10-03 04:00:57 +00:00 |
Daryl Koopersmith
|
d6f613fcd3
|
Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-02 18:19:49 +00:00 |
Andrew Ozz
|
d0d3855285
|
Add screen_options with contextual content, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-02 06:59:36 +00:00 |
Andrew Nacin
|
da55be56a6
|
Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18863 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-02 00:04:30 +00:00 |
Andrew Ozz
|
b59e63f01f
|
Add phpdoc for the section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18862 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-01 22:22:33 +00:00 |
Andrew Ozz
|
f928bc51eb
|
Separate the tab title from the help section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-01 21:18:04 +00:00 |