Commit Graph

129 Commits

Author SHA1 Message Date
azaozz 057ceb34de 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: http://svn.automattic.com/wordpress/trunk@19160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 19:46:43 +00:00
azaozz 339fe6065d Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: http://svn.automattic.com/wordpress/trunk@19159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 18:11:33 +00:00
azaozz 2f5eff99f4 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: http://svn.automattic.com/wordpress/trunk@19156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:55:00 +00:00
duck_ 375689175a 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: http://svn.automattic.com/wordpress/trunk@19153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 14:47:37 +00:00
duck_ 8eaace17cf Update wp_admin_bar_appearance_menu docs to reflect changes made by r18683 and r19006. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:52:42 +00:00
azaozz f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
nacin 800261121a 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: http://svn.automattic.com/wordpress/trunk@19128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 04:53:00 +00:00
ryan fe035ab2c8 Fix live update of comment bubble. Drop text to avoid translation difficulties. Props SergeyBiryukov. fixes #18809
git-svn-id: http://svn.automattic.com/wordpress/trunk@19105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:42:40 +00:00
ryan 58eee18833 Network admin snack menu. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:19:33 +00:00
markjaquith 85e67b81cb Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: http://svn.automattic.com/wordpress/trunk@19103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:12:42 +00:00
ryan e7dde2bc7f Mark links to wordpress.org resources for translation. Props SergeyBiryukov. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 19:46:41 +00:00
westi 53d8de7408 Don't show the Freedoms or Credits menu items to logged out users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-22 10:56:04 +00:00
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
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
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 fc66ba3c08 Add full admin menu to admin bar on front end. props azaozz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 19:53:12 +00:00
koopersmith 260d918501 Improve admin bar item order for W menu, add new menu, and edit content item. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-10 18:40:00 +00:00
koopersmith ddf8e3e31d Clean up the 'Site Name' admin bar functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 19:52:26 +00:00
nacin 502638442f No translators, you don't need to localize a non-breaking space.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-07 06:41:51 +00:00
koopersmith dcf34868ed Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 18:45:32 +00:00
ryan e0a7825baa Excerpt long blog names when displaying them in the admin bar. fixes #18849
git-svn-id: http://svn.automattic.com/wordpress/trunk@18873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 19:58:33 +00:00
koopersmith 2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
ryan cd0c3f605e 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: http://svn.automattic.com/wordpress/trunk@18844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 18:07:14 +00:00
nacin 83746331cf 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: http://svn.automattic.com/wordpress/trunk@18788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 04:04:10 +00:00
koopersmith 0c79429d8b Add secondary section to 'Add New' admin bar menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 03:53:43 +00:00
westi 59cb3c0ddd Only show 'About this version' menu item to logged in users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 08:40:31 +00:00
koopersmith 590868d915 Second pass, admin bar overhaul. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 23:30:40 +00:00
koopersmith 723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
nacin 2ee655428d 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: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
koopersmith 053fb714ba Improve comments item in admin bar. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 01:11:52 +00:00
koopersmith b188bea4c8 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 00:41:04 +00:00
westi 34dbc01722 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 11:12:37 +00:00
westi a38314000b Don't try showing these links to non-logged in users either.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:50:55 +00:00
westi a10f6eba7f Don't show this menu for users who are not logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:46:12 +00:00
koopersmith 5a7a91af5f Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:18:05 +00:00
koopersmith 834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
ryan c2d37a3d65 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
ryan 2564e26011 Show admin bar in single site backend by default. Props dimadin. fixes #17899
git-svn-id: http://svn.automattic.com/wordpress/trunk@18451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:41:18 +00:00
ryan 026d9e562d Add menu id for admin-bar's dashboard and view-site link. Props szadok. fixes #17873
git-svn-id: http://svn.automattic.com/wordpress/trunk@18333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 20:05:43 +00:00
nacin 2d54db5d7c 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: http://svn.automattic.com/wordpress/trunk@18261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 02:20:18 +00:00
ryan daa14c36f9 Bring out the pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
ryan b9f0a71e1d Disambiguation for Add New links in admin bar. Props nacin. see #16406
git-svn-id: http://svn.automattic.com/wordpress/trunk@18233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:43:48 +00:00
nacin b75066943f PHPdoc fixes. props trepmal. fixes #17734.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-09 21:47:28 +00:00
westi 93118d34cf Only show the Dashboard link if you are logged in. See #17705.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-09 11:16:07 +00:00
nacin 71c2782b1c 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: http://svn.automattic.com/wordpress/trunk@18194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:49:27 +00:00
westi e84e708e8d Link the Media item in the Add New menu to the Upload New Media form correctly. Props hew.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 12:40:00 +00:00
nacin e811e73322 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 00:30:17 +00:00
westi 54511399a8 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: http://svn.automattic.com/wordpress/trunk@18088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:30:12 +00:00
ryan f824fbe47f Round out the objects in the Admin Bar -> Add New list
git-svn-id: http://svn.automattic.com/wordpress/trunk@17821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:29:54 +00:00
dd32 7e7d8d7cd4 Support Edit link on the Admin Bar for Attachments. Fixes #17273
git-svn-id: http://svn.automattic.com/wordpress/trunk@17778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 02:22:58 +00:00