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 Ozz
|
3700b57fdc
|
Remove the Cancel Upload button, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-03 01:47: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 |
|
Dion Hulse
|
b37514a7fd
|
Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19115 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-02 12:16:47 +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
|
809c1558e3
|
Remove cruft. see #19106.
git-svn-id: https://develop.svn.wordpress.org/trunk@19112 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-02 04:14:14 +00:00 |
|
Mark Jaquith
|
41d1ab35f3
|
Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: https://develop.svn.wordpress.org/trunk@19109 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-02 02:36:18 +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 Ozz
|
1746c2af62
|
Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-31 21:38:28 +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
|
a5c6da9a2e
|
Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: https://develop.svn.wordpress.org/trunk@19093 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-31 17:08:36 +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
|
115014be64
|
Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: https://develop.svn.wordpress.org/trunk@19089 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-29 05:30:57 +00:00 |
|
Ryan Boren
|
722c6d7003
|
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19074 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-28 15:48:44 +00:00 |
|
Ryan Boren
|
f8ed38f26c
|
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19072 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-27 20:00:09 +00:00 |
|
Andrew Nacin
|
b7b6a7e5ae
|
Use correct object. props adambackstrom. fixes #19045.
git-svn-id: https://develop.svn.wordpress.org/trunk@19066 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 16:08:24 +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 |
|
Andrew Nacin
|
261ee73e3d
|
Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: https://develop.svn.wordpress.org/trunk@19062 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 05:50:39 +00:00 |
|
Andrew Nacin
|
96e4fffaa9
|
Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: https://develop.svn.wordpress.org/trunk@19061 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 05:48:09 +00:00 |
|
Andrew Nacin
|
fcf1696de4
|
Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: https://develop.svn.wordpress.org/trunk@19060 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 05:29:28 +00:00 |
|
Dion Hulse
|
f869eb56b8
|
Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19057 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-25 04:25:52 +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
|
7121150930
|
Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19047 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-23 18:01:33 +00:00 |
|
Andrew Nacin
|
ed8f3c3f95
|
Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@19046 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-23 17:58:06 +00:00 |
|
Andrew Nacin
|
79ff2e030c
|
Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19043 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-23 17:48:58 +00:00 |
|
Andrew Nacin
|
f3e64d5112
|
Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19041 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-21 22:40:30 +00:00 |
|
Andrew Nacin
|
c64486425a
|
Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19040 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-21 22:35:33 +00:00 |
|
Andrew Nacin
|
cab3d35ee0
|
Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009.
git-svn-id: https://develop.svn.wordpress.org/trunk@19038 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-21 22:04:52 +00:00 |
|
Jon Cave
|
939b085f54
|
Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-20 15:53:57 +00:00 |
|
Andrew Nacin
|
1287ec492a
|
Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-20 15:04:46 +00:00 |
|
Andrew Nacin
|
420fe65fca
|
Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: https://develop.svn.wordpress.org/trunk@19020 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 23:51:06 +00:00 |
|
Andrew Nacin
|
c55e62a9ae
|
Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19019 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 23:01:55 +00:00 |
|
Andrew Nacin
|
b3b1b00cff
|
Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19015 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 21:52:14 +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 |
|
Ryan Boren
|
5914353c06
|
Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: https://develop.svn.wordpress.org/trunk@19013 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 21:43:02 +00:00 |
|
Jon Cave
|
d7ee58c7e2
|
Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: https://develop.svn.wordpress.org/trunk@19011 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 17:48:07 +00:00 |
|
Mark Jaquith
|
f32a070480
|
Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: https://develop.svn.wordpress.org/trunk@19010 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 17:08:57 +00:00 |
|
Daryl Koopersmith
|
9e0ccd9fdf
|
In welcome panel, move periods outside of links. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19009 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 17:05:12 +00:00 |
|
Daryl Koopersmith
|
c1945d5c69
|
Welcome panel contents and functionality. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19007 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-19 16:41:26 +00:00 |
|
Ryan Boren
|
789dab3f20
|
Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18998 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-18 20:44:39 +00:00 |
|
Ryan Boren
|
9683b05c4e
|
Avoid pass by ref warning. Props arena. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18997 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-18 20:38:18 +00:00 |
|