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
Ryan Boren
db63861af8
Use add_help_sidebar(). see #19020
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren
4709ef3dc2
Chain off of get_current_screen() instead of using global. see #19020
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19110 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:38:37 +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 Nacin
27cd634a96
Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19107 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:23:05 +00:00
Ryan Boren
1ec2c3c3e9
No need to setup current screen in wp-fullscreen-save-post handler. see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19106 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:15:18 +00:00
Jon Cave
e754641764
Remove dead code left by r18621. Props ocean90. Fixes #19087 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19101 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 12:36:14 +00:00
Andrew Ozz
947ba8f62c
Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19100 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 11:56:20 +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
Ryan Boren
3ca9c1df61
Use key(). Props scribu. fixes #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19095 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:46:10 +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 Ozz
1326405677
Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19091 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:56:27 +00:00
Andrew Ozz
9588256ab5
Some more css cleanup, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19090 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:50:32 +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
Andrew Ozz
c5cf25a60b
Theme and plugin editor textarea direction in RTL, props SergeyBiryukov, fixes #18021
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19087 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:55:58 +00:00
Andrew Ozz
ee4f3ae87c
Browse Happy RTL fix, props SergeyBiryukov, fixes #18093
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19086 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:52:21 +00:00
Andrew Ozz
e10b10b6e2
Fix help tabs in RTL, props rosshanney, fixes #19024
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19083 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:05:58 +00:00
Andrew Ozz
1cd9d13384
RTL CSS cleanup for credits.php, props SergeyBiryukov, fixes #18420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19082 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:42:36 +00:00
Andrew Ozz
8a48ef371f
RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000 , fixes #17988 , fixes #19006
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19080 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:14:59 +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
d85938ec7a
gettext fix. Props ocean90. fixes #18770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19073 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 21:14:14 +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
Ryan Boren
5ff9cbe0cb
Make repair.php fully translatable. Props ocean90. fixes #18770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19070 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 18:31:45 +00:00
Jon Cave
72256f1c27
Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029 .
...
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".
git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +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
Ryan Boren
62778137cf
Fix sub menu highlighting for post type pages. see #13662
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19048 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:45:06 +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
a7dda77ea7
Adjust the height of the help columns on 'Help' tab open. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19045 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:55:24 +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