Commit Graph

183 Commits

Author SHA1 Message Date
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
Ryan Boren 987bf4663f Admin bar tweaks. Props filosofo. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16302 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:19:25 +00:00
Peter Westwood afbd46517a Don't show duff links if someone decides that they want the admin bar for all users - even those who are logged out.
git-svn-id: https://develop.svn.wordpress.org/trunk@16291 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:49:37 +00:00
Peter Westwood 06bf2f9e66 Link the shortlink button to the shortlink. Props caesarsgrunt see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16287 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 10:24:56 +00:00
Peter Westwood 1626139659 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
Ryan Boren 2e4abe9e16 Use CPTs in admin bar menus. Props duck_. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16132 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 14:58:59 +00:00
scribu b4988b968b use get_queried_object() wrappers throughout. See #14015
git-svn-id: https://develop.svn.wordpress.org/trunk@16114 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:02:17 +00:00
Andrew Nacin ccee731f94 Kill the admin-bar directory. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16098 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:40:04 +00:00
Ryan Boren 9afa96dc1b Lose Manage Sites. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16086 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:18:21 +00:00
Ryan Boren cfcf51fcfa Use get_edit_profile_url(). see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16085 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:15:24 +00:00
Ryan Boren 40558c2dbc get_dashboard_url() and get_edit_profile_url(). Determine the appropriate dahboard for a user based on the user's blogs and the current blog. see #14696 #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16083 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 17:48:53 +00:00
Ryan Boren 59a291483f Fix comments links. Props PeteMall. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16082 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:50:21 +00:00
Peter Westwood b5025d2b5b Only show it as the Global Dashboard if multisite. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16080 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:45:29 +00:00
Ryan Boren d2dd8df29f Add Updates menu to admin bar. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16079 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:36:45 +00:00
Ryan Boren 3c374b177c Add Appearance menu to admin bar. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16078 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:26:36 +00:00
Ryan Boren 81b8a20429 Beginnings of new admin bar organization. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16077 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:17:22 +00:00
Peter Westwood bcd5c65438 Don't show a shortlink button if we don't have one. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16076 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:58:14 +00:00
Peter Westwood 8e0ad0374e If someone has defined WP_SHOW_ADMIN_BAR it wins period. Otherwise we break for things like XMLRPC which disable this always. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16071 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:44:02 +00:00
Peter Westwood a80db4c779 More admin bar updates. See #14772 props filosofo.
Moves js out into seperate file.
Respects WP_SHOW_ADMIN_BAR.
Moved shortlink to top-level
Removed admin bar from non-multisite admin pages.
Set eol-style on new files.

git-svn-id: https://develop.svn.wordpress.org/trunk@16070 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:25:58 +00:00
Ryan Boren d74685e477 s/Read Site/Visit Site/. Props markmcwilliams. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16058 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 19:00:12 +00:00
Ryan Boren 8223646c58 Typo fix. Props markmcwilliams. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16054 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:19:37 +00:00
Peter Westwood 4c79038cfe Admin bar cleanup. See #14772 props filosofo.
Moves CSS into seperate files.
Patch cleanup included moving function call arguments back on to one line where not necessary to split them.

git-svn-id: https://develop.svn.wordpress.org/trunk@16038 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:36 +00:00
Andrew Nacin cd50525faa Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
Ryan Boren 3e32b5318a Use underscore separator
git-svn-id: https://develop.svn.wordpress.org/trunk@15916 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:10:23 +00:00
Ryan Boren 3507043ba1 Remove redundant logged in check. Props neoxx. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15914 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:42:26 +00:00
Ryan Boren 74ef68d6ce show_admin_bar(). see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15863 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:23:39 +00:00
Ryan Boren 8dcf52eeec admin_bar_init action. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15862 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:07:54 +00:00
Ryan Boren 77b8718db9 Remove get_current_screen() call
git-svn-id: https://develop.svn.wordpress.org/trunk@15835 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:23:46 +00:00
Ryan Boren 8b610e7c83 Allow turning off the admin bar via WP_SHOW_ADMIN_BAR constant, no_admin_bar() function, or show_admin_bar filter. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15834 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:58:36 +00:00
Andrew Nacin e47fb410bc s/blog/site/ on the admin bar code. props markmcwilliams, see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15769 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:22:00 +00:00
Dion Hulse f8be3f9fd1 Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15760 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 05:25:09 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Dion Hulse c20a7fc441 Do not load adminbar css in media uploader. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15696 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:16:33 +00:00
Dion Hulse 57f3dab19d Do not show admin bar in update iframes. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15695 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:11:34 +00:00
Dion Hulse 7feec6e344 Fix return false; for Adminbar Blog info.
git-svn-id: https://develop.svn.wordpress.org/trunk@15694 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:15:35 +00:00
Dion Hulse b10f73b4bc Fix profile link in admin bar. Props mellertime. Fixes #15022
git-svn-id: https://develop.svn.wordpress.org/trunk@15693 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:04:28 +00:00
Ryan Boren 733af07765 Admin bar, first pass. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15671 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 20:26:36 +00:00