Commit Graph

9059 Commits

Author SHA1 Message Date
Andrew Ozz cd59832859 Make sure editor-buttons.css is loaded even if tiny_mce.js is used directly and the wp_theme skin is selected in the settings, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19533 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 21:27:19 +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 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 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
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
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
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 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 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
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
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 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 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 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
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
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 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 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
Andrew Nacin 9ec00c3d9f preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369.
git-svn-id: https://develop.svn.wordpress.org/trunk@19460 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:37:46 +00:00
Andrew Ozz 6bb6916409 Admin bar: change the tabbing to behave as if the admin bar menus were click-to-open (Tab to select, Enter to open/close), fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19458 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:31:11 +00:00
Andrew Ozz 8319988a27 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19457 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:21:36 +00:00
Andrew Ozz d2e0a6feab Rename the problematic "unload" event in Thickbox to "tb_unload", making it a true custom event, fixes #19189
git-svn-id: https://develop.svn.wordpress.org/trunk@19456 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 17:49:50 +00:00
Andrew Ozz b627c99686 Check the sidebar class for orphaned sidebars, match sidebars by id while retrieving orphans and the theme has not changed, props SergeyBiryukov, fixes #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19455 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 06:16:43 +00:00
Andrew Ozz 6f06a70ecc Revert [19264] to keep back-compat. Any improperly fired window.unload will have to be dealt with on a case by case basis.
git-svn-id: https://develop.svn.wordpress.org/trunk@19451 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 17:33:31 +00:00
Ryan Boren 9647ae046e Beta 4 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@19447 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:50:18 +00:00
Andrew Ozz 1eaf098637 Few more RTL and IE7 fixes, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19446 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:40:31 +00:00
Dion Hulse d70ddc49f9 Switch to sanitize_title_for_query() for Query sanitization (allows for pre-3.3 page slugs to be viewable), Don't update page slugs to new slug-types when the slug is not being changed, Don't issue a XHR if the page slug hasn't changed. Group effort props xknown, markjaquith, nacin. See #19292
git-svn-id: https://develop.svn.wordpress.org/trunk@19444 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:20:21 +00:00
Daryl Koopersmith 073e1df1f0 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19443 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:49:33 +00:00
Andrew Ozz 32e46ee3b1 Tweak the active help tab padding to line it up, see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19440 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:23:05 +00:00
Daryl Koopersmith 02ff30d4e5 In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19439 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:19:12 +00:00
Andrew Nacin 48f128a12b Use an 'appearance' group in the admin bar. fixes #19245.
git-svn-id: https://develop.svn.wordpress.org/trunk@19434 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:01:20 +00:00
Daryl Koopersmith dbe3d24b39 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19433 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:50:46 +00:00
Andrew Ozz ae2743d972 Changes user_can_richedit() to default to true for logged out users, same as the default for logged in users, fixes #19320
git-svn-id: https://develop.svn.wordpress.org/trunk@19432 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:49:17 +00:00
Daryl Koopersmith d18820448a   is the new bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19431 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:21:15 +00:00
Daryl Koopersmith 3150c3cf4e Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: https://develop.svn.wordpress.org/trunk@19430 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:14:03 +00:00