Commit Graph

17921 Commits

Author SHA1 Message Date
Andrew Nacin
d39db098d7 Remove debug cruft and fix variable collision. fixes #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19532 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 06:02:18 +00:00
Ryan Boren
2da096b18c RC1 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19531 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 05:13:33 +00:00
Ryan Boren
3ee8c17f20 English, less butchering of it.
git-svn-id: https://develop.svn.wordpress.org/trunk@19530 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 05:03:19 +00:00
Andrew Nacin
2d82fa2b5a Push logic into _redirect_to_about_wordpress() and be more specific about which context this runs under. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19529 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 05:03:11 +00:00
Ryan Boren
6610e321e7 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19528 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:51:35 +00:00
Andrew Nacin
91ed8fd115 Use GLOBALS. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19527 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:49:57 +00:00
Andrew Nacin
099603c7f2 Remove code that is dead as of [19523].
git-svn-id: https://develop.svn.wordpress.org/trunk@19526 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:43:17 +00:00
Daryl Koopersmith
f2eea34463 Update search icon in toolbar to match other icons. props chexee, fixes #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19525 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:43:06 +00:00
Andrew Nacin
8a76e0fdab 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: https://develop.svn.wordpress.org/trunk@19524 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:38:51 +00:00
Ryan Boren
427cd23c67 Remove new-secondary-object group from toolbar New content menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@19523 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:32:33 +00:00
Andrew Nacin
6073a8dce1 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: https://develop.svn.wordpress.org/trunk@19522 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:37:22 +00:00
Andrew Nacin
d399f00b30 Make current_screen an action, not a filter. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19521 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:34:55 +00:00
Andrew Nacin
04bb986e97 Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19520 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:29:55 +00:00
Daryl Koopersmith
345b3b943a Remove the shortlink item from the toolbar, but keep the function for plugins. fixes #19407.
git-svn-id: https://develop.svn.wordpress.org/trunk@19519 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:25:54 +00:00
Daryl Koopersmith
c6003cf37b In toolbar, move search item to the right of the account menu and make it icon-only. fixes #19370, #19406.
git-svn-id: https://develop.svn.wordpress.org/trunk@19518 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:03:12 +00:00
Daryl Koopersmith
0961b15abe Add titles to toolbar W and Account items. props DrewAPicture, see #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19517 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:55:53 +00:00
Daryl Koopersmith
c47ea8d881 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19516 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:53:44 +00:00
Ryan Boren
0cd6ddb43d Fix indent. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19515 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:28:47 +00:00
Ryan Boren
9f8cbd8efc Use WP_Screen::add_help_tab(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19514 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:22:07 +00:00
Andrew Nacin
2418805321 Split chunk of help text on edit-tags.php into 'Adding Categories' and 'Adding Tags' tabs, respectively. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19513 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:51:34 +00:00
Andrew Nacin
9983ea3c0e Remove add_screen_option('overview') from dashboard (from earlier 3.3 help incarnation), add 'Overview' tab. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19512 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:39:21 +00:00
Andrew Nacin
bc0f0de8a0 Help tweaks for comments, media, edit.php, update-core.php. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19511 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:33:26 +00:00
Andrew Nacin
29bacb72f0 Help tweaks for themes, plugins screens. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19510 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:24:39 +00:00
Andrew Nacin
57da602f61 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19509 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:17:14 +00:00
Andrew Ozz
4b0fc55339 Include wp-admin-bar-secondary-* when closing non-current submenus, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19508 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:07:43 +00:00
Andrew Nacin
3561beb4f7 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19507 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:52:31 +00:00
potbot
0a3517a96a POT, generated from r19505
git-svn-id: https://develop.svn.wordpress.org/trunk@19506 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:47:08 +00:00
Andrew Ozz
70dadbd5e8 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19505 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:43:18 +00:00
Andrew Nacin
69a34ae62d They call me multisite. props ryan, zeo. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19504 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:36:19 +00:00
Andrew Nacin
ef6564d7cb s/Screen Info/Overview/g, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19503 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:34:31 +00:00
Andrew Nacin
ce22f02ff7 Switch to 'Overview' for Twenty Eleven. Use the theme's textdomain. props SergeyBiryukov, see [19493], #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19502 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:33:09 +00:00
Andrew Nacin
d36315ee66 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: https://develop.svn.wordpress.org/trunk@19501 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:25:04 +00:00
Daryl Koopersmith
cc83fb57bc Begin to generalize toolbar icon CSS. see #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19500 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:16:17 +00:00
Daryl Koopersmith
fffc2eee5c Print title attributes for linkless toolbar items. see #19277.
git-svn-id: https://develop.svn.wordpress.org/trunk@19499 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 23:59:10 +00:00
Andrew Nacin
acffe708d3 Features are packaged by weight, not by volume. These features settled during shipping. fixes #19402.
git-svn-id: https://develop.svn.wordpress.org/trunk@19498 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 22:34:16 +00:00
Jon Cave
09db1af4f8 Move awaiting moderation title to the .ab-item link so that it's easier to display. Fixes #19403.
git-svn-id: https://develop.svn.wordpress.org/trunk@19497 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:59:18 +00:00
Andrew Nacin
eb371357d8 Don't use hard-coded version number. props duck_. see #19402.
git-svn-id: https://develop.svn.wordpress.org/trunk@19496 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:34:15 +00:00
Daryl Koopersmith
1e4740ae48 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19495 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:19:39 +00:00
Andrew Ozz
8b90f3c7e5 Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
git-svn-id: https://develop.svn.wordpress.org/trunk@19494 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:05:22 +00:00
Andrew Nacin
c754f4636f 'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19493 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 20:58:39 +00:00
Andrew Ozz
291a5ed05b Fix css selectors mismatch in Press This, see #19341
git-svn-id: https://develop.svn.wordpress.org/trunk@19492 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 17:51:34 +00:00
Andrew Nacin
e729204a30 Remove margin from h3's in press this. fixes #19341.
git-svn-id: https://develop.svn.wordpress.org/trunk@19491 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:44:36 +00:00
Andrew Nacin
f1e505c84b Allow scratch beta/RC installs to experience pointers. Uncomment this before release. see #19360, #19382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19490 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:08:29 +00:00
Andrew Nacin
15afe56aa9 Don't show pointers for new users. Works for new installs, too. fixes #19360.
git-svn-id: https://develop.svn.wordpress.org/trunk@19489 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:05:59 +00:00
Andrew Nacin
8ef374f2e1 Cap checks for pointers. see #19360.
git-svn-id: https://develop.svn.wordpress.org/trunk@19488 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 15:59:55 +00:00
Andrew Ozz
2ea24cca39 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: https://develop.svn.wordpress.org/trunk@19487 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 03:37:15 +00:00
Andrew Ozz
85533fa282 Reset aria_arrtibutes when reaching admin submenu, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19486 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 02:23:21 +00:00
Andrew Ozz
f7dbae661c Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19485 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 02:15:24 +00:00
Andrew Ozz
a13312c624 Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19484 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:27:33 +00:00
Andrew Ozz
83aa770282 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: https://develop.svn.wordpress.org/trunk@19483 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:21:38 +00:00