Commit Graph

120 Commits

Author SHA1 Message Date
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