Commit Graph

17765 Commits

Author SHA1 Message Date
nacin
2cee887c0b Remove code that is dead as of [19523].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:43:17 +00:00
koopersmith
c06518a851 Update search icon in toolbar to match other icons. props chexee, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:43:06 +00:00
nacin
e209ce5948 Finalize the code which redirects to about.php after a core update. Only triggers on update-core.php in case wp_update_core() is called in a different context.
props ocean90 for initial patch. fixes #18467.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:38:51 +00:00
ryan
94f091afb9 Remove new-secondary-object group from toolbar New content menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:32:33 +00:00
nacin
b1935deee4 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:37:22 +00:00
nacin
2c789f296a Make current_screen an action, not a filter. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:34:55 +00:00
nacin
a16fe7f86f Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:29:55 +00:00
koopersmith
74e1b3ea68 Remove the shortlink item from the toolbar, but keep the function for plugins. fixes #19407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:25:54 +00:00
koopersmith
39ac39ef2c In toolbar, move search item to the right of the account menu and make it icon-only. fixes #19370, #19406.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:03:12 +00:00
koopersmith
f54aba9b06 Add titles to toolbar W and Account items. props DrewAPicture, see #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:55:53 +00:00
koopersmith
9fdd8c9301 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:53:44 +00:00
ryan
32915a8574 Fix indent. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:28:47 +00:00
ryan
8ace5a6b4c Use WP_Screen::add_help_tab(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:22:07 +00:00
nacin
10cd387b2e Split chunk of help text on edit-tags.php into 'Adding Categories' and 'Adding Tags' tabs, respectively. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:51:34 +00:00
nacin
7ff19d7485 Remove add_screen_option('overview') from dashboard (from earlier 3.3 help incarnation), add 'Overview' tab. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:39:21 +00:00
nacin
c0dcf616c1 Help tweaks for comments, media, edit.php, update-core.php. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:33:26 +00:00
nacin
65a10cedbb Help tweaks for themes, plugins screens. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:24:39 +00:00
nacin
3d51303ca3 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:17:14 +00:00
azaozz
5a1ddc6e4a Include wp-admin-bar-secondary-* when closing non-current submenus, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 01:07:43 +00:00
nacin
4c566cebc6 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:52:31 +00:00
potbot
5e6a6beebb POT, generated from r19505
git-svn-id: http://svn.automattic.com/wordpress/trunk@19506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:47:08 +00:00
azaozz
6e11173bd4 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:43:18 +00:00
nacin
cc50764a8b They call me multisite. props ryan, zeo. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:36:19 +00:00
nacin
02dfdbbbf4 s/Screen Info/Overview/g, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:34:31 +00:00
nacin
26867ec70a Switch to 'Overview' for Twenty Eleven. Use the theme's textdomain. props SergeyBiryukov, see [19493], #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:33:09 +00:00
nacin
a109cf8c6b Finalize the WP_Admin_Bar architecture for 3.3.
* Introduce a get_node() method for plugins.
 * Deprecate $wp_admin_bar->menu. Plugins will need to use get_node(), remove_node(), add_node() to make modifications. This finalizes a backwards incompatible change made earlier in the cycle.
 * Allow add_node() to take a node object (which could come from get_node(), then be modified).
 * Ensure that our underlying storage (the nodes property) is private to core. Introduce _set_node, _unset_node, _get_nodes, get_nodes as the only ways to interface with this.
 * Protect and finalize _render_item, and _render_group. render() remains public and technically overridable, though I would discourage this of plugin authors.
 * Deprecate recursive_render(). Use render() or _render_item().

More about the internals:
 * Late-binds a node's 'children' array.
 * Eliminates the root property, leverages a 'root' node.
 * Splits render() into _bind() and _render(), both protected and finalized.

Fixes #19371.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:25:04 +00:00
koopersmith
9c4cab4c3b Begin to generalize toolbar icon CSS. see #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 00:16:17 +00:00
koopersmith
7c6cd25f00 Print title attributes for linkless toolbar items. see #19277.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 23:59:10 +00:00
nacin
9dc5cf45a8 Features are packaged by weight, not by volume. These features settled during shipping. fixes #19402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 22:34:16 +00:00
duck_
1fe06274f3 Move awaiting moderation title to the .ab-item link so that it's easier to display. Fixes #19403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:59:18 +00:00
nacin
1d9b3eeb30 Don't use hard-coded version number. props duck_. see #19402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:34:15 +00:00
koopersmith
3424f94b08 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:19:39 +00:00
azaozz
5ec6bd4833 Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
git-svn-id: http://svn.automattic.com/wordpress/trunk@19494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 21:05:22 +00:00
nacin
5b248a72c8 'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 20:58:39 +00:00
azaozz
ccfb36ace5 Fix css selectors mismatch in Press This, see #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 17:51:34 +00:00
nacin
b0ecdeeca2 Remove margin from h3's in press this. fixes #19341.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:44:36 +00:00
nacin
532d1561f4 Allow scratch beta/RC installs to experience pointers. Uncomment this before release. see #19360, #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:08:29 +00:00
nacin
31c8813108 Don't show pointers for new users. Works for new installs, too. fixes #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 16:05:59 +00:00
nacin
63b2f4c6e7 Cap checks for pointers. see #19360.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 15:59:55 +00:00
azaozz
880ac093a1 When the submenu is too long to fit on the screen, place the top if it under the admin bar (the rest is scrollable with a wheel mouse), fixes #19323
git-svn-id: http://svn.automattic.com/wordpress/trunk@19487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 03:37:15 +00:00
azaozz
69cd88fc6f Reset aria_arrtibutes when reaching admin submenu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:23:21 +00:00
azaozz
4408443814 Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 02:15:24 +00:00
azaozz
7f81dbfe3f Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 01:27:33 +00:00
azaozz
535431029b Fix the tabbing JS to work as described in the W3 ARIA draft: Tab to select, Enter to show submenu, Esc to close submenu, return to top menu and focus it. See #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-30 01:21:38 +00:00
koopersmith
af301d63f3 Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 19:43:24 +00:00
nacin
5dfe09d0b3 Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:56:13 +00:00
koopersmith
56e0dd7bd2 Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:49:30 +00:00
koopersmith
ba3f815726 Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:40:34 +00:00
nacin
798ccd0c97 Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:25:49 +00:00
koopersmith
3ede56505b In multisite, hide help text for single-site only options. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:23:04 +00:00