Commit Graph

17749 Commits

Author SHA1 Message Date
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
Daryl Koopersmith dfc7eb6125 Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19482 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 19:43:24 +00:00
Andrew Nacin 3118dd18d7 Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.
git-svn-id: https://develop.svn.wordpress.org/trunk@19481 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:56:13 +00:00
Daryl Koopersmith 666e76c5dc Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.
git-svn-id: https://develop.svn.wordpress.org/trunk@19480 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:49:30 +00:00
Daryl Koopersmith cb67dee04e Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19479 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:40:34 +00:00
Andrew Nacin e455e2691b 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: https://develop.svn.wordpress.org/trunk@19478 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:25:49 +00:00
Daryl Koopersmith 937fe7e42a In multisite, hide help text for single-site only options. props dougwrites, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19477 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:23:04 +00:00
Andrew Ozz b8a1940ac7 Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227
git-svn-id: https://develop.svn.wordpress.org/trunk@19476 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:06:56 +00:00
Daryl Koopersmith 9270d2e101 Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19475 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:47:35 +00:00
Daryl Koopersmith 8c414e6b1b Use 3.3 help API on edit tags page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19474 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:37:04 +00:00
Daryl Koopersmith a122cd0f61 Update help text on themes page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19473 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:34:08 +00:00
Daryl Koopersmith 9dd06a1af9 Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19472 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 16:58:58 +00:00
Andrew Nacin 2b6fd8ceee WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: https://develop.svn.wordpress.org/trunk@19471 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 22:58:51 +00:00
Ryan Boren ef187a99f6 Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: https://develop.svn.wordpress.org/trunk@19470 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 20:35:36 +00:00
Andrew Nacin 23dcc6ef17 Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19469 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 20:04:00 +00:00
Andrew Nacin 82ae22f947 Use a scalpel to dissect names passed to convert_to_screen(). Carefully watch for post type names, suffixes we need to detect and remove, and when we need to remove 'edit-' from the start of a hookname. see #19353.
git-svn-id: https://develop.svn.wordpress.org/trunk@19468 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 18:33:40 +00:00
Andrew Nacin 447d1d7b96 Don't open a pointer when the target element is hidden. see #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19467 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 17:50:49 +00:00
Andrew Nacin d7c9c422b5 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: https://develop.svn.wordpress.org/trunk@19466 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 17:47:26 +00:00
Andrew Nacin 2c62b87783 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: https://develop.svn.wordpress.org/trunk@19465 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:47:11 +00:00
Daryl Koopersmith 9868b58207 Update help content for tools page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19464 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:44:08 +00:00
Andrew Nacin 3348d28c15 Update comments icon in the menu sprite to match the rounded admin bar icon. props empireoflight. fixes #19379.
git-svn-id: https://develop.svn.wordpress.org/trunk@19463 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:42:36 +00:00
Daryl Koopersmith a7d44f10e9 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19462 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:40:36 +00:00
Daryl Koopersmith 480a7cee6b Update help content for import page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19461 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:38:13 +00:00