Commit Graph

9074 Commits

Author SHA1 Message Date
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
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 fe4f927a80 Allow a super admin to demote themselves on a site to a role that does not contain the promote_users cap. props fonglh, fixes #18164.
git-svn-id: https://develop.svn.wordpress.org/trunk@19024 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:12:25 +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 86638ed332 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: https://develop.svn.wordpress.org/trunk@19018 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:57:37 +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
Andrew Nacin e9991fd203 Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: https://develop.svn.wordpress.org/trunk@19003 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 14:51:48 +00:00
Andrew Ozz ee0fa1e9fa Few more RTL fixes, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19002 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:42:41 +00:00
Andrew Ozz cfbb3d30f5 Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19001 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:16:15 +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
Andrew Nacin f95cb305ea Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: https://develop.svn.wordpress.org/trunk@18996 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:33:34 +00:00
Andrew Nacin c56c7320a3 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18992 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:32:40 +00:00
Ryan Boren 207cf186b6 Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: https://develop.svn.wordpress.org/trunk@18991 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:18:08 +00:00
Ryan Boren 421ee5ebdd Don't filter taxonomy list. see #18983
git-svn-id: https://develop.svn.wordpress.org/trunk@18990 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 16:33:31 +00:00
Dion Hulse 527935e883 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18986 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:48:07 +00:00
Dion Hulse d2f80c9e5a Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: https://develop.svn.wordpress.org/trunk@18985 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:32:28 +00:00
Daryl Koopersmith a9148409f3 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18983 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 21:04:29 +00:00
Andrew Ozz d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Nacin 790f153832 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: https://develop.svn.wordpress.org/trunk@18980 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 19:18:28 +00:00
Andrew Nacin 804702bc00 Close strong tag. props scribu. fixes #18970.
git-svn-id: https://develop.svn.wordpress.org/trunk@18979 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 18:57:06 +00:00
Jon Cave d197a1d865 Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18977 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 10:43:55 +00:00
Andrew Ozz 4bb2ed26d8 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18976 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:46:58 +00:00
Andrew Ozz 573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Daryl Koopersmith ed7c3fb655 Simplify pointer API with smarter positioning. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:33:46 +00:00
Andrew Ozz 0ad398784b Menu RTL css refresh, fixes #18906
git-svn-id: https://develop.svn.wordpress.org/trunk@18968 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 01:06:23 +00:00
Ryan Boren 44c051923e Avoid notices when viewing non-existent taxonomy. Props ocean90, johnbillion. fixes #18716
git-svn-id: https://develop.svn.wordpress.org/trunk@18966 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 18:55:40 +00:00
Ryan Boren 4685bc4b99 Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295
git-svn-id: https://develop.svn.wordpress.org/trunk@18965 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 18:32:31 +00:00
Dion Hulse b158ddc175 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: https://develop.svn.wordpress.org/trunk@18964 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 10:43:38 +00:00
Andrew Ozz 941a686bbf Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: https://develop.svn.wordpress.org/trunk@18962 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:33:10 +00:00
Andrew Ozz 41ee808832 Remove borders from iframes and images in IE, props dd32, andrewryno, fixes #18922
git-svn-id: https://develop.svn.wordpress.org/trunk@18961 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:27:32 +00:00
Andrew Ozz 0156e509db Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18960 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 02:47:00 +00:00
Andrew Ozz 415738fee3 Bottom out checkboxes and radio buttons (seems to line them up nicely in most browsers).
git-svn-id: https://develop.svn.wordpress.org/trunk@18959 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:37:39 +00:00
Andrew Ozz 8dd953e39d IE7 fixes for the admin menu, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18958 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:06:07 +00:00
Andrew Ozz e10d951cce Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Ryan Boren 3ed641402e Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: https://develop.svn.wordpress.org/trunk@18954 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:30:50 +00:00
Ryan Boren 9566269dfc Validation fix for user-edit.php. Props sorich87. fixes #18921
git-svn-id: https://develop.svn.wordpress.org/trunk@18953 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 19:47:00 +00:00
Jon Cave 83d7fbe1a6 Revert r18887 due to back compat issues. Fixes #18914.
For example 'intval' couldn't be used as a sanitisation callback.


git-svn-id: https://develop.svn.wordpress.org/trunk@18951 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:35:33 +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 Ozz c75c11d59b Fix dashboard postboxes in RTL, fixes #18907
git-svn-id: https://develop.svn.wordpress.org/trunk@18948 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 00:01:39 +00:00
Daryl Koopersmith 596a9ad2d8 Improve padding on admin menu submenus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18947 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:52:40 +00:00
Daryl Koopersmith 3f33c99e90 Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18946 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:48:20 +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
Daryl Koopersmith d6686cf589 Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18944 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:38:12 +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
Daryl Koopersmith 50b17d4b68 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: https://develop.svn.wordpress.org/trunk@18942 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:25:38 +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 Ozz 844d8607d8 Don't move current open submenus, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18940 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 17:59:51 +00:00
Andrew Ozz b297c030b7 More CSS cleanup, props olleicua, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18939 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 06:25:25 +00:00
Ryan Boren db7795de32 Do the beta bump
git-svn-id: https://develop.svn.wordpress.org/trunk@18938 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:50:20 +00:00
Andrew Nacin 1db90d21e0 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18937 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:31:36 +00:00
Andrew Nacin b827c657fb Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644.
git-svn-id: https://develop.svn.wordpress.org/trunk@18931 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:56:35 +00:00
Andrew Nacin f9bba8610d Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.
git-svn-id: https://develop.svn.wordpress.org/trunk@18930 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:54:26 +00:00
Andrew Ozz 619caa5c73 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18926 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 04:19:05 +00:00
Andrew Ozz d51b26378c Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: https://develop.svn.wordpress.org/trunk@18925 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 17:30:51 +00:00
Andrew Ozz 692d11e622 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: https://develop.svn.wordpress.org/trunk@18924 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 00:05:38 +00:00
Andrew Ozz cfcb553dfb Add translation comment, props ocean90, fixes #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz 184f2a7d96 Actually the Press This styles changed in [18920] are not needed, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18921 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:24:29 +00:00
Andrew Ozz 2b2bff2fca Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18920 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:14:21 +00:00
Andrew Ozz 70a7bb3fe0 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz a115821842 Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +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 209ba5a53f Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18912 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:58:36 +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
Andrew Nacin d9f0fec29c Revert CSS that slipped into [18874]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18910 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 03:29:49 +00:00
Andrew Nacin a488f8e686 Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18908 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 23:43:20 +00:00
Andrew Nacin 237d132595 @since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18904 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 16:24:14 +00:00
Andrew Ozz fcecbaa30c Combine few styles for column containers, props olleicua, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18903 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 14:37:55 +00:00
Andrew Ozz 390650f410 As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Andrew Ozz 04c169ba44 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18901 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:18:56 +00:00
Andrew Ozz 7ac7aeae29 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Ryan Boren 319d070078 Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Andrew Nacin 44a62f0b3b Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18897 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:42:11 +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 Nacin a8638d222d Align the bytes.
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin 7b1d7c6f12 type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin ac958d3ec6 Oops. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18893 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:05:43 +00:00
Andrew Nacin 0a6ff4024f Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18892 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:04:09 +00:00
Andrew Nacin 1b836047af Compress and bump scripts for [18890]. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18891 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:08:16 +00:00
Andrew Nacin e386cb17c5 UI touches for the single media button. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +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
Daryl Koopersmith c9e4b0fcb9 Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18888 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:45:32 +00:00
Mark Jaquith 46737bef61 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: https://develop.svn.wordpress.org/trunk@18887 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:48:41 +00:00
Dion Hulse 85c8647a55 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: https://develop.svn.wordpress.org/trunk@18883 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:14:41 +00:00
Dion Hulse c91838bd7d Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
git-svn-id: https://develop.svn.wordpress.org/trunk@18882 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:09:51 +00:00
Daryl Koopersmith ea4615f2ed Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18881 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 06:39:30 +00:00
Andrew Ozz 48be8d03eb Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@18880 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 23:10:02 +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
Ryan Boren c8cbea1d66 Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: https://develop.svn.wordpress.org/trunk@18878 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:09:24 +00:00
Ryan Boren ed0c374876 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: https://develop.svn.wordpress.org/trunk@18876 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:00:36 +00:00
Andrew Ozz 188a2b973f Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: https://develop.svn.wordpress.org/trunk@18875 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 04:14:36 +00:00