Commit Graph

186 Commits

Author SHA1 Message Date
Ryan Boren dd11766207 Admin bar validation fix. Props usermrpapa. fixes #19180
git-svn-id: https://develop.svn.wordpress.org/trunk@19214 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 15:55:58 +00:00
Andrew Ozz b1af3610ec Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19207 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 20:38:38 +00:00
Andrew Nacin 91b5d4baa5 Clean up wp_admin_bar_my_account_menu() a bit. see #19193.
git-svn-id: https://develop.svn.wordpress.org/trunk@19201 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:27:24 +00:00
Andrew Nacin ae6ddbd3e6 Link the profile meta in 'My Account' to profile.php. props linuxologos, fixes #19193.
git-svn-id: https://develop.svn.wordpress.org/trunk@19200 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:25:13 +00:00
Jon Cave 9fca31d21d Hide Site Name menu if the user isn't a member and isn't a super admin. Always show My Sites if the user has a site, and don't remove the current site from the list. Fixes #19122.
git-svn-id: https://develop.svn.wordpress.org/trunk@19184 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 12:21:12 +00:00
Andrew Nacin 970b93c056 Link 'W' to about.php. see #18795.
git-svn-id: https://develop.svn.wordpress.org/trunk@19166 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 03:35:20 +00:00
Andrew Ozz bf02e004e0 Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19162 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:13:18 +00:00
Andrew Ozz 7dec8b7703 Admin-bar.css refresh, add back IE compat. "return false" so clicking on the search box doesn't scropp the page to the top, props ocean90, fixes #19153, fixes #19151
git-svn-id: https://develop.svn.wordpress.org/trunk@19160 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 19:46:43 +00:00
Andrew Ozz dab902ceab Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: https://develop.svn.wordpress.org/trunk@19159 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 18:11:33 +00:00
Andrew Ozz 3ee304ae1e Tweaks for the admin bar comment bubble: allow JS updating the count, center the bubble when no pending comments, props duck_, fixes #18809
git-svn-id: https://develop.svn.wordpress.org/trunk@19156 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:55:00 +00:00
Jon Cave 21f89abdca Fix caps logic in wp_admin_bar_appearance_menu(). Show Themes on either switch_themes or edit_theme_options, and the rest of the appearance items on edit_theme_options. Fixes #19150.
git-svn-id: https://develop.svn.wordpress.org/trunk@19153 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 14:47:37 +00:00
Jon Cave 2a16423a57 Update wp_admin_bar_appearance_menu docs to reflect changes made by r18683 and r19006. See #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19150 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:52:42 +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 Nacin 5a8176ea36 Admin bar 'W' shakeup. About This Version is now About WordPress. Credits and Freedoms will now become tabs on the post-update screen. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19128 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 04:53:00 +00:00
Ryan Boren 03139f2eec Fix live update of comment bubble. Drop text to avoid translation difficulties. Props SergeyBiryukov. fixes #18809
git-svn-id: https://develop.svn.wordpress.org/trunk@19105 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:42:40 +00:00
Ryan Boren 795073ef01 Network admin snack menu. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19104 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:19:33 +00:00
Mark Jaquith 4b4c1bed52 Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: https://develop.svn.wordpress.org/trunk@19103 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:12:42 +00:00
Ryan Boren c8ae4ba953 Mark links to wordpress.org resources for translation. Props SergeyBiryukov. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19102 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 19:46:41 +00:00
Peter Westwood eb1b0763e1 Don't show the Freedoms or Credits menu items to logged out users.
git-svn-id: https://develop.svn.wordpress.org/trunk@19042 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-22 10:56:04 +00:00
Andrew Nacin 6387565b38 Remove code commented out in [19006]. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19026 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:33:18 +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
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 a8dde60aa6 Add full admin menu to admin bar on front end. props azaozz. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18929 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:53:12 +00:00
Daryl Koopersmith 9bf6d8e25f Improve admin bar item order for W menu, add new menu, and edit content item. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18927 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 18:40:00 +00:00
Daryl Koopersmith e33486dbb6 Clean up the 'Site Name' admin bar functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@18919 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:52:26 +00:00
Andrew Nacin 679dbc6a78 No translators, you don't need to localize a non-breaking space.
git-svn-id: https://develop.svn.wordpress.org/trunk@18916 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 06:41:51 +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
Ryan Boren 8fec352eaa Excerpt long blog names when displaying them in the admin bar. fixes #18849
git-svn-id: https://develop.svn.wordpress.org/trunk@18873 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 19:58:33 +00:00
Daryl Koopersmith a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Ryan Boren 0fb49c10e3 Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798
git-svn-id: https://develop.svn.wordpress.org/trunk@18844 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:07:14 +00:00
Andrew Nacin 319264bd0d Cleanup in wp_admin_bar_new_content_menu. current() instead of array_shift(), remove unused index 1 from the arrays, remove ?post_type=post from the Post link. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18788 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 04:04:10 +00:00
Daryl Koopersmith 5abb139f0d Add secondary section to 'Add New' admin bar menu. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18787 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:53:43 +00:00
Peter Westwood f8f9a7c6d7 Only show 'About this version' menu item to logged in users.
git-svn-id: https://develop.svn.wordpress.org/trunk@18777 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 08:40:31 +00:00
Daryl Koopersmith a7767fbcec Second pass, admin bar overhaul. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18776 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 23:30:40 +00:00
Daryl Koopersmith 3094ed7733 Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@18745 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 23:20:26 +00:00
Andrew Nacin d021bbd1d4 Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18700 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 22:26:01 +00:00
Daryl Koopersmith 6244ba8f6e Improve comments item in admin bar. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18696 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 01:11:52 +00:00
Daryl Koopersmith edeae501f1 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18695 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 00:41:04 +00:00
Peter Westwood 1688cde0e2 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: https://develop.svn.wordpress.org/trunk@18690 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 11:12:37 +00:00
Peter Westwood cc5c326c37 Don't try showing these links to non-logged in users either.
git-svn-id: https://develop.svn.wordpress.org/trunk@18687 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:50:55 +00:00
Peter Westwood 30121b77d9 Don't show this menu for users who are not logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@18686 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:46:12 +00:00
Daryl Koopersmith 50f062f711 Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18685 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 07:18:05 +00:00
Daryl Koopersmith e1038932b9 Admin bar UX improvements. First pass, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Ryan Boren 5d649a9235 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: https://develop.svn.wordpress.org/trunk@18468 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 18:39:57 +00:00
Ryan Boren 0689b1b8a0 Show admin bar in single site backend by default. Props dimadin. fixes #17899
git-svn-id: https://develop.svn.wordpress.org/trunk@18451 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:41:18 +00:00
Ryan Boren 5068db5bb8 Add menu id for admin-bar's dashboard and view-site link. Props szadok. fixes #17873
git-svn-id: https://develop.svn.wordpress.org/trunk@18333 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 20:05:43 +00:00
Andrew Nacin 240e0f44d6 Introduce name_admin_bar label and the show_in_admin_bar (Add New menu) argument for post types. Allows for proper translations of these strings and provides for consolidated logic. fixes #16406.
git-svn-id: https://develop.svn.wordpress.org/trunk@18261 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 02:20:18 +00:00
Ryan Boren 46d96c7704 Bring out the pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Ryan Boren 740272025b Disambiguation for Add New links in admin bar. Props nacin. see #16406
git-svn-id: https://develop.svn.wordpress.org/trunk@18233 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 16:43:48 +00:00
Andrew Nacin 68308f3735 PHPdoc fixes. props trepmal. fixes #17734.
git-svn-id: https://develop.svn.wordpress.org/trunk@18220 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 21:47:28 +00:00
Peter Westwood 182b1bdb51 Only show the Dashboard link if you are logged in. See #17705.
git-svn-id: https://develop.svn.wordpress.org/trunk@18213 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-09 11:16:07 +00:00
Andrew Nacin 24d38bc521 Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: https://develop.svn.wordpress.org/trunk@18194 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:49:27 +00:00
Peter Westwood 1f1a527115 Link the Media item in the Add New menu to the Upload New Media form correctly. Props hew.
git-svn-id: https://develop.svn.wordpress.org/trunk@18164 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 12:40:00 +00:00
Andrew Nacin ebbcce1b80 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: https://develop.svn.wordpress.org/trunk@18157 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 00:30:17 +00:00
Peter Westwood 384371a6f3 Only apply the admin bar bump down css to the screen media type so it doesn't affect printouts. Fixes #17512 props kawauso.
git-svn-id: https://develop.svn.wordpress.org/trunk@18088 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 14:30:12 +00:00
Ryan Boren bd68475d3f Round out the objects in the Admin Bar -> Add New list
git-svn-id: https://develop.svn.wordpress.org/trunk@17821 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 19:29:54 +00:00
Dion Hulse 8f40a55767 Support Edit link on the Admin Bar for Attachments. Fixes #17273
git-svn-id: https://develop.svn.wordpress.org/trunk@17778 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 02:22:58 +00:00
Andrew Nacin a33d4a8dc4 Admin Bar: Add a Themes submenu under Appearance, for consistency. fixes #15931.
git-svn-id: https://develop.svn.wordpress.org/trunk@17741 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 11:17:09 +00:00
Ryan Boren 55ce9f4a7a Add Background and Header to Admin Bar Appearance Menu. fixes #17263
git-svn-id: https://develop.svn.wordpress.org/trunk@17731 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 22:06:01 +00:00
Ryan Boren 0f2b53d32d Used passed admin bar object instead of global. Props solarissmoke. fixes #16540
git-svn-id: https://develop.svn.wordpress.org/trunk@17658 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 22:03:34 +00:00
Ryan Boren 65ecd2daaa Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17508 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-08 22:48:05 +00:00
Ryan Boren 451d7d8ffb Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Andrew Nacin 23b061fae6 Only show 'Edit %s' in the admin bar when show_ui. fixes #16304.
git-svn-id: https://develop.svn.wordpress.org/trunk@17329 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-19 16:58:30 +00:00
Andrew Nacin fe7705a8cb For admin bar padding, use margin on the html element instead of padding on the body element. Causes far less conflicts. props aldenta, fixes #16222.
git-svn-id: https://develop.svn.wordpress.org/trunk@17299 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 17:52:51 +00:00
Andrew Nacin d9b266ed25 Rename wp_admin_bar_init to _wp_admin_bar_init and add a note that removing this action is the wrong way to do it.
git-svn-id: https://develop.svn.wordpress.org/trunk@17296 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 05:57:25 +00:00
Peter Westwood 376207d61b Switch to using min-width so long titles can be displayed instead of using elipsis. Fixes #15654 props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@17295 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 02:25:24 +00:00
Peter Westwood 0105bcadf7 Admin Bar - show fullsite name in the tooltip. Correct some escaping. Fixes #16197 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17269 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 16:02:56 +00:00
Ryan Boren d848f25d95 Expand shortlink menu when clicked. Fix displayed of shortlinks when rel shortlink is missing. Props koopersmith. fixes #16155
git-svn-id: https://develop.svn.wordpress.org/trunk@17263 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:45:14 +00:00
Andrew Nacin 465650292a Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17234 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:39:18 +00:00
Ryan Boren eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Andrew Nacin cf122e2b22 Move the admin bar profile preferences to a hook. fixes #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17161 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 19:37:11 +00:00
Andrew Nacin 28604faac7 Have 'My Sites' in admin bar actually link to my-sites.php. props ocean90, fixes #15900.
git-svn-id: https://develop.svn.wordpress.org/trunk@17067 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:52 +00:00
Andrew Nacin 9aaa805cfb Thorough CSS reset of the admin bar to avoid theme conflicts. props ocean90, JohnONolan, filosofo, duck_. fixes #15851.
git-svn-id: https://develop.svn.wordpress.org/trunk@17064 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:11:24 +00:00
Peter Westwood b334556bbf Less ugly show_admin_bar() enforcement. Fixes #15869 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@17057 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 09:54:13 +00:00
Ryan Boren bf811456b4 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
Andrew Nacin 5ee410fd40 NULL isn't set.
git-svn-id: https://develop.svn.wordpress.org/trunk@17019 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:43 +00:00
Andrew Nacin 541c45ba0e Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Andrew Nacin 3653bb7926 Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Ryan Boren 700374e0b0 Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
git-svn-id: https://develop.svn.wordpress.org/trunk@16957 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:33:02 +00:00
Andrew Nacin 26e0e1ab6f Admin bar blogname handling improvements. Kill visible property vestige. props ocean90, fixes #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16952 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:48:06 +00:00
Peter Westwood 2caeab48f0 Give the Logout menu item the correct parent so it appears when we have avatars as well as when we don't. Fixes #15611 props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@16934 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 08:38:49 +00:00
Andrew Nacin 4ebfb979b1 Fix admin bar styling when no avatars are in use. props ocean90, see #15611.
git-svn-id: https://develop.svn.wordpress.org/trunk@16913 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 13:42:56 +00:00
Ryan Boren 5003828f16 Admin bar sprite cleanups. Props ocean90, darrenmeehan. see #15611
git-svn-id: https://develop.svn.wordpress.org/trunk@16897 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 20:35:28 +00:00
Andrew Nacin ad424075f1 Admin bar script/style improvements. props ocean90, see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16862 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 18:47:21 +00:00
Andrew Nacin de04f2de14 Close a quote. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16795 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:49:56 +00:00
Andrew Nacin d5717c050c Admin bar styling improvements.
* Ensure there isn't a text shadow for update and comment counts.
 * Hide zero count of pending comments via PHP, not CSS.
 * Show the update title attribute across the entire menu item, props demetris.
 * Let the CSS breathe a little.


git-svn-id: https://develop.svn.wordpress.org/trunk@16791 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:50:24 +00:00
Andrew Nacin 8abcb8e5ce Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: https://develop.svn.wordpress.org/trunk@16747 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:41:19 +00:00
Andrew Nacin 0d3c811371 Flush these left.
git-svn-id: https://develop.svn.wordpress.org/trunk@16743 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 04:51:52 +00:00
Ryan Boren f03bfe223f Add bump down for menu bar. Allow themes to add a custom bump callback. Props ocean90. fixes #15592
git-svn-id: https://develop.svn.wordpress.org/trunk@16636 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:50:57 +00:00
Ryan Boren a2cb5307c8 Default Add New menu link to first post type in list. Avoids empty href issues. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16610 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:16:29 +00:00
Ryan Boren a9042cad2d Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it. Props ocean90. fixes #15597
git-svn-id: https://develop.svn.wordpress.org/trunk@16609 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:07:32 +00:00
Ryan Boren 82d6b81907 Remove wp_admin_body_style(). Props ocean90. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@16600 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 22:05:54 +00:00
Ryan Boren fcb29ae39f Admin bar phpdoc update. Props filosofo. fixes #15418
git-svn-id: https://develop.svn.wordpress.org/trunk@16599 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:51:12 +00:00
Nikolay Bachiyski 672c3a90f9 Add context to Add New admin bar menu label -- we have many other Add New
git-svn-id: https://develop.svn.wordpress.org/trunk@16595 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 11:16:23 +00:00
Andrew Nacin 845832a767 Second half of [16462]. props duck_. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16463 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:51:50 +00:00
Andrew Nacin 3161d152bf Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16462 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:01:07 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren e4983b968e Admin bar fixes. Props ocean90. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16310 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 20:02:52 +00:00
Ryan Boren d68bd6002a Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16309 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 19:11:12 +00:00
Ryan Boren c54708d203 Make the My Sites menu items use admin_url() instead of hardcoding the url. Props caesarsgrunt. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16308 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 18:48:38 +00:00