Andrew Ozz
|
74cfcd36e3
|
Responsive columns on the dashboard and write screens, first run, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20272 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-03-23 21:41:00 +00:00 |
|
Andrew Ozz
|
fcbd8f7f57
|
Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: https://develop.svn.wordpress.org/trunk@20168 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-03-10 01:23:48 +00:00 |
|
Andrew Nacin
|
682b2a4b6d
|
Remove out-of-place double quote. props niallkennedy. fixes #20113.
git-svn-id: https://develop.svn.wordpress.org/trunk@19987 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-24 20:49:54 +00:00 |
|
Andrew Nacin
|
859a366cdc
|
Add an @return. fixes #19974.
git-svn-id: https://develop.svn.wordpress.org/trunk@19950 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-18 21:59:47 +00:00 |
|
Andrew Nacin
|
74124c36ea
|
Add WP_Screen methods get_help_tabs(), get_help_tab( $id ), get_help_sidebar(). Store help tabs by tab ID, not numeric key; allows proper removal with remove_help_tab( $id ). props BenChapman, npetetin for initial getter patch. fixes #19974.
git-svn-id: https://develop.svn.wordpress.org/trunk@19944 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-17 23:40:02 +00:00 |
|
Andrew Nacin
|
0d31edafda
|
Only show 'Show on screen' once in screen options. fixes #17431.
git-svn-id: https://develop.svn.wordpress.org/trunk@19943 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-17 23:19:52 +00:00 |
|
Andrew Nacin
|
07cfcf9cb6
|
Use class name for @return. props markuak, fixes #20063.
git-svn-id: https://develop.svn.wordpress.org/trunk@19942 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-17 23:15:05 +00:00 |
|
Andrew Nacin
|
db7ac5be83
|
Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: https://develop.svn.wordpress.org/trunk@19807 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-01 14:47:49 +00:00 |
|
Jon Cave
|
760471a9a8
|
Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19702 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-01-06 18:31:43 +00:00 |
|
Andrew Nacin
|
8b37e9a821
|
Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@19680 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-01-04 23:06:49 +00:00 |
|
Ryan Boren
|
54067a5f20
|
Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-12-14 17:36:38 +00:00 |
|
Ryan Boren
|
676ba7043e
|
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-12-13 23:45:31 +00:00 |
|
Ryan Boren
|
22b28c8441
|
Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19563 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-12-07 00:13:52 +00:00 |
|
Andrew Nacin
|
d399f00b30
|
Make current_screen an action, not a filter. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19521 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-12-01 03:34:55 +00:00 |
|
Andrew Nacin
|
04bb986e97
|
Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19520 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-12-01 03:29:55 +00:00 |
|
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 |
|