Commit Graph

17265 Commits

Author SHA1 Message Date
nacin f70954c422 Remove code commented out in [19006]. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:33:18 +00:00
ryan 5bfc91f5ee Fix term counting for links. Props SergeyBiryukov. fixes #18986
git-svn-id: http://svn.automattic.com/wordpress/trunk@19025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:28:26 +00:00
nacin 023143f7cd 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: http://svn.automattic.com/wordpress/trunk@19024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:12:25 +00:00
ryan 759475df38 beta2 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 02:22:02 +00:00
nacin 0f1b959ae5 Check for plugin/theme updates every hour when hitting update-core.php, not just themes.php/plugins.php. see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 00:23:35 +00:00
nacin 6a4ddffe0f Attach update hooks in the network admin. Accounts for the rare situation where the network admin is not the main site. props johnbillion, see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 00:15:21 +00:00
nacin 3e61e179d9 Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:51:06 +00:00
nacin 51657715c1 Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 23:01:55 +00:00
nacin f11bc146f7 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:57:37 +00:00
nacin 239e36bc0a We know that pagename is being assigned to $matches-something, so skip the variable variable. props duck_. see #18991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:49:45 +00:00
ryan b957c72f9a Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
git-svn-id: http://svn.automattic.com/wordpress/trunk@19016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:35:15 +00:00
nacin db86ea12d4 Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:52:14 +00:00
nacin 11a800a3d9 Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:21 +00:00
ryan d0d8eb2aaf 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: http://svn.automattic.com/wordpress/trunk@19013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:02 +00:00
duck_ 148a9e8039 Don't cache default value in get_site_option() for non-existent options. Fixes #18955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:06:50 +00:00
duck_ 16daac44ec Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:48:07 +00:00
markjaquith aa64ec5d1d Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: http://svn.automattic.com/wordpress/trunk@19010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:08:57 +00:00
koopersmith 52829ad92f In welcome panel, move periods outside of links. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 17:05:12 +00:00
azaozz 9329ce844e RTL CSS tweaks, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:58:46 +00:00
koopersmith 1391717cfa Welcome panel contents and functionality. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:41:26 +00:00
azaozz ca0acb7a05 Bring the Appearance sub-menus on the front end one level up, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:32:26 +00:00
nacin a0606b3c93 is_blog_user() is from MU. see #16702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 15:56:05 +00:00
ryan 9d8e281a80 Turn is_blog_user() into a convenience wrapper around get_blogs_of_user(). Fixes is_blog_user() for blog prefixes that do not contain a blog ID. Props SergeyBiryukov. fixes #16702
git-svn-id: http://svn.automattic.com/wordpress/trunk@19004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 15:53:14 +00:00
nacin 9bfad4c43e Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 14:51:48 +00:00
azaozz 6d3c45d333 Few more RTL fixes, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:42:41 +00:00
azaozz 9d05f1f94a Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:16:15 +00:00
dd32 ee71b2eb88 Respect the Content-Type header developers pass to WP_HTTP. Fixes #18982
git-svn-id: http://svn.automattic.com/wordpress/trunk@19000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 04:48:00 +00:00
ryan ec7afa90a1 Call wp_update_term_count() only for those terms that have been added to or removed from the object. Props jeremyclarke. fixes #18631
git-svn-id: http://svn.automattic.com/wordpress/trunk@18999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 21:01:55 +00:00
ryan 67661f7181 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:44:39 +00:00
ryan 6623ea4b4a Avoid pass by ref warning. Props arena. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@18997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:38:18 +00:00
nacin 0b9a1f68da Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:33:34 +00:00
nacin 89c0895887 new does not require by reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 20:20:59 +00:00
nacin c17df0bb43 Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:44:00 +00:00
nacin 97f9966f3a Explicitly globalize $table_prefix in wp-settings.php in case WordPress isn't loaded in global scope. Use $_SERVER['PHP_SELF'], not $PHP_SELF. We need to keep $PHP_SELF for backwards compatibility reasons (many, many plugins rely on it). props mrtorrent, fixes #17749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:37:07 +00:00
nacin 1387dfd1f2 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:32:40 +00:00
ryan f1ec92751f Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:18:08 +00:00
ryan 3dc95bc55a Don't filter taxonomy list. see #18983
git-svn-id: http://svn.automattic.com/wordpress/trunk@18990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 16:33:31 +00:00
azaozz c50a7acfc5 Pointers: more airy drop shadow, see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@18989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:43:40 +00:00
azaozz 2d2e825359 Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:08:55 +00:00
azaozz 0c9a60c4e7 Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@18987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 07:03:31 +00:00
dd32 5194428741 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: http://svn.automattic.com/wordpress/trunk@18986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:48:07 +00:00
dd32 8e82c7560c Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: http://svn.automattic.com/wordpress/trunk@18985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 02:32:28 +00:00
ryan d1dc2178a8 Return to snack menu instead of full menu. Experiment over. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 22:06:31 +00:00
koopersmith 5990b8ca14 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 21:04:29 +00:00
azaozz e849d3b270 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
azaozz 1bc8ca65fe No float for the admin bar gravatar image, props gluten, fixes #18925
git-svn-id: http://svn.automattic.com/wordpress/trunk@18981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:19:12 +00:00
nacin b040745a22 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 19:18:28 +00:00
nacin 2ce5a485ed Close strong tag. props scribu. fixes #18970.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 18:57:06 +00:00
ryan b051ece339 phpdoc fix. Props Jayjdk. fixes #18965
git-svn-id: http://svn.automattic.com/wordpress/trunk@18978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 15:58:16 +00:00
duck_ 6926503ebf Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 10:43:55 +00:00