Commit Graph

17826 Commits

Author SHA1 Message Date
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
azaozz
24917dfbc8 Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227
git-svn-id: http://svn.automattic.com/wordpress/trunk@19476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 18:06:56 +00:00
koopersmith
58191c0b6b Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:47:35 +00:00
koopersmith
fcdf942e04 Use 3.3 help API on edit tags page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:37:04 +00:00
koopersmith
0575de32a7 Update help text on themes page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 17:34:08 +00:00
koopersmith
ed2c35ad0a Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-29 16:58:58 +00:00
nacin
65fde75e85 WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 22:58:51 +00:00
ryan
b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
nacin
28276e825c Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:04:00 +00:00
nacin
f9ee8ccfd2 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: http://svn.automattic.com/wordpress/trunk@19468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 18:33:40 +00:00
nacin
addfdbe752 Don't open a pointer when the target element is hidden. see #19357.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:50:49 +00:00
nacin
6e648d2356 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:47:26 +00:00
nacin
416b6749f4 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:47:11 +00:00
koopersmith
68a166cca7 Update help content for tools page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:44:08 +00:00
nacin
ad56beed8f Update comments icon in the menu sprite to match the rounded admin bar icon. props empireoflight. fixes #19379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:42:36 +00:00
koopersmith
93808a4a55 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:40:36 +00:00
koopersmith
626751a2f6 Update help content for import page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:38:13 +00:00
nacin
72b44daa02 preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:37:46 +00:00
koopersmith
90f4fb3dd5 Update help content for user edit page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:32:33 +00:00
azaozz
580048525d 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: http://svn.automattic.com/wordpress/trunk@19458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 00:31:11 +00:00
azaozz
dc87dec0a4 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 00:21:36 +00:00
azaozz
2d97f8794a Rename the problematic "unload" event in Thickbox to "tb_unload", making it a true custom event, fixes #19189
git-svn-id: http://svn.automattic.com/wordpress/trunk@19456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 17:49:50 +00:00
azaozz
a55d901b12 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: http://svn.automattic.com/wordpress/trunk@19455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 06:16:43 +00:00
dd32
6da2f73c78 Add a missing translation. Props yuraz, vanillalounge. Fixes #19359
git-svn-id: http://svn.automattic.com/wordpress/trunk@19454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 04:08:38 +00:00
azaozz
952187eb76 Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 20:00:21 +00:00
azaozz
f1ef47ded2 Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 19:46:41 +00:00
azaozz
b41176ce79 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: http://svn.automattic.com/wordpress/trunk@19451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 17:33:31 +00:00
nacin
572dcb6205 Use class_exists() rather than is_admin() as otherwise the unit tests won't work without a WP_ADMIN hack. see #19342.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 05:15:28 +00:00
azaozz
e8638a517a Move the check whether the theme supports widgets before we register any extra sidebars, fixes #19352
git-svn-id: http://svn.automattic.com/wordpress/trunk@19449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 17:44:53 +00:00
nacin
97dcf902db Revert [19372] for 3.3. see #13473.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 16:06:17 +00:00
ryan
747ac2c7e5 Beta 4 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:50:18 +00:00
azaozz
32267a39dd Few more RTL and IE7 fixes, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:40:31 +00:00
ryan
efbbab1b3c Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:21:39 +00:00
dd32
c85525aece 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: http://svn.automattic.com/wordpress/trunk@19444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:20:21 +00:00
koopersmith
1611327f11 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:49:33 +00:00
nacin
fd676baa81 Redirect to about.php on update. props ocean90. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:38:36 +00:00
nacin
470a2bb683 Hide unrelated maintenance message on update-core when you are running the latest version, and show a link to about.php. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:28:50 +00:00
azaozz
cd153ba4fb Tweak the active help tab padding to line it up, see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:23:05 +00:00
koopersmith
e73fcd8c4a In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:19:12 +00:00
ryan
094ebdb120 Indent cleanup. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:08:02 +00:00