Commit Graph

17255 Commits

Author SHA1 Message Date
Ryan Boren 2c83b5728f 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: https://develop.svn.wordpress.org/trunk@19016 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:35:15 +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 0f36a1e33b Don't cache default value in get_site_option() for non-existent options. Fixes #18955.
git-svn-id: https://develop.svn.wordpress.org/trunk@19012 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:06:50 +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
Andrew Ozz 9c3869b10b RTL CSS tweaks, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19008 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:58:46 +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 Ozz 267579fc1e Bring the Appearance sub-menus on the front end one level up, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19006 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:32:26 +00:00
Andrew Nacin e50a297ef1 is_blog_user() is from MU. see #16702.
git-svn-id: https://develop.svn.wordpress.org/trunk@19005 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 15:56:05 +00:00
Ryan Boren 85c931dc32 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: https://develop.svn.wordpress.org/trunk@19004 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 15:53:14 +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
Dion Hulse 81197a2dd5 Respect the Content-Type header developers pass to WP_HTTP. Fixes #18982
git-svn-id: https://develop.svn.wordpress.org/trunk@19000 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 04:48:00 +00:00
Ryan Boren cc9e6ecb65 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: https://develop.svn.wordpress.org/trunk@18999 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 21:01:55 +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 90f95e0204 new does not require by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:20:59 +00:00
Andrew Nacin e8946bf56a Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18994 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:44:00 +00:00
Andrew Nacin 0ea00a75d1 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: https://develop.svn.wordpress.org/trunk@18993 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:37:07 +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
Andrew Ozz 12dd9663fc Pointers: more airy drop shadow, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18989 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:43:40 +00:00
Andrew Ozz b6b775e4c3 Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18988 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:08:55 +00:00
Andrew Ozz 6bdce8d62f Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18987 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:03: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
Ryan Boren fdbf2de4db Return to snack menu instead of full menu. Experiment over. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18984 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 22:06:31 +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 Ozz 96571de38e No float for the admin bar gravatar image, props gluten, fixes #18925
git-svn-id: https://develop.svn.wordpress.org/trunk@18981 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:19:12 +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
Ryan Boren f14c0a52b4 phpdoc fix. Props Jayjdk. fixes #18965
git-svn-id: https://develop.svn.wordpress.org/trunk@18978 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 15:58:16 +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
Ryan Boren df5f69fabc In wp_trash_post(), rename the trash_post action to wp_trash_post to avoid collision with the wp_transition_post_status() trash_post state transition. Props SergeyBiryukov. fixes #15628
git-svn-id: https://develop.svn.wordpress.org/trunk@18974 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 18:39:31 +00:00
Ryan Boren 8d945cd8a0 Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928
git-svn-id: https://develop.svn.wordpress.org/trunk@18973 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 17:56:48 +00:00
Andrew Nacin 825f219f5d Da bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@18972 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 15:48:05 +00:00
Daryl Koopersmith db82a18377 Tweak pointer styles. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18971 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:58:27 +00:00
Daryl Koopersmith 087201621e Fix incorrect closing tag in pointers JS. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18970 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:36:04 +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
Andrew Ozz a7f2758641 Remove stray comma, fixes #18929
git-svn-id: https://develop.svn.wordpress.org/trunk@18967 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 19:46:13 +00:00