Commit Graph

93 Commits

Author SHA1 Message Date
azaozz
a0beb9a1d1 Admin menu: change to strip_tags() for the aria-label attributes as it's faster, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:36:07 +00:00
azaozz
46839c23eb Admin menu: add aria-label attributes to the links around menu images for the sake of screen readers, fixes #20373
git-svn-id: http://core.svn.wordpress.org/trunk@20680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 01:41:15 +00:00
azaozz
f6047c397e Remove role="menu" and role="menuitem" for now, fixes #19394
git-svn-id: http://svn.automattic.com/wordpress/trunk@19548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 17:47:23 +00:00
ryan
6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +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
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
duck_
0ca4df123a Remove dead code left by r18621. Props ocean90. Fixes #19087.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 12:36:14 +00:00
ryan
d01f93226d Fix sub menu highlighting for post type pages. see #13662
git-svn-id: http://svn.automattic.com/wordpress/trunk@19048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 18:45:06 +00:00
koopersmith
e10f6876d4 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-11 21:25:38 +00:00
azaozz
0e358f2179 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: http://svn.automattic.com/wordpress/trunk@18901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 09:18:56 +00:00
duck_
2b11174785 _wp_menu_output() speed up and clean up. Props dragoonis. Fixes #13662.
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 10:22:58 +00:00
koopersmith
51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz
06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
azaozz
d2e54b7932 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 06:20:30 +00:00
azaozz
46c545cdba Remove links from the menu separators, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 06:19:00 +00:00
koopersmith
7e14a62035 Improve collapsed menu styling. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 22:13:03 +00:00
koopersmith
892a2a0df4 Add collapse link to admin menu, add new arrow graphics, improve screen meta JS/CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 19:51:32 +00:00
markjaquith
8d87f5dcb4 Big UI style update. props koopersmith. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 20:15:05 +00:00
azaozz
9ac90e3262 Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: http://svn.automattic.com/wordpress/trunk@17623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 18:45:22 +00:00
ryan
c087c70a25 Improved self determination. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 14:08:29 +00:00
nacin
c840f4676e Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:58:02 +00:00
dd32
abcbdf58b2 Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
git-svn-id: http://svn.automattic.com/wordpress/trunk@14127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:38:47 +00:00
dd32
8f30ffcb9e Properly escape plugin admin menu URL's for display. Crops up with custom post_type's with a custom submenu item with & instead of &
git-svn-id: http://svn.automattic.com/wordpress/trunk@13851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 01:32:35 +00:00
nacin
30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
ryan
aa47e83dee Fix submenus for post types. Props TobiasBg. see #12453
git-svn-id: http://svn.automattic.com/wordpress/trunk@13579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 00:15:55 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
wpmuguru
346f859e12 merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan
e007633fcd Trim query strings from menu entries before seeing if a corresponding file exists. fixes #10132 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 17:11:53 +00:00
azaozz
6d535ce0c2 Load the menu folded (if set), load the editor earlier
git-svn-id: http://svn.automattic.com/wordpress/trunk@11118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 05:43:03 +00:00
ryan
221eeb89ab Ignore index.php in plugins dir when creating menus. Props Denis-de-Bernardy. fixes #6478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-08 18:20:33 +00:00
ryan
153cc03186 Ignore index.php in plugins dir when creating menus. fixes #6478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 18:12:05 +00:00
ryan
4118b08835 Ignore index.php in plugins dir when creating menus. fixes #6478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-05 21:02:46 +00:00
azaozz
535b79426a Filter menu IDs, fixes #8523
git-svn-id: http://svn.automattic.com/wordpress/trunk@10123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 03:46:26 +00:00
azaozz
ec0a4a9ebf Fix tab button on the write screen in Opera, add tabindex to the menu, don't 'lock' the tab key between the title and the editor. Fixes #8197
git-svn-id: http://svn.automattic.com/wordpress/trunk@9784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-19 12:02:28 +00:00
ryan
eb98d60d03 Don't pass menus by ref. Causes loop counter problems in php4. fixes #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 21:50:31 +00:00
azaozz
6b99a452d1 Menu updates: single top level menus, B&W/color icons (sprite), fix for the Firefox bug of not firing mouseout on absolute positioned elements over textareas/text fields, scaling down properly for different user roles, includes patch by Ryan, fixes #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 14:54:39 +00:00
azaozz
2e6d9f228e Attach 'Screen Options' button to the sliding layer and related changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 01:22:24 +00:00
ryan
5ed9c32d49 If parent uses admin.php, use admin.php for subs. fixes #7962
git-svn-id: http://svn.automattic.com/wordpress/trunk@9337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 22:40:19 +00:00
azaozz
076763cfff Admin menu styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 22:19:19 +00:00
ryan
c157d8861a Fix current submenu designation when sub swith the same hook exist under different parents. fixes #7948
git-svn-id: http://svn.automattic.com/wordpress/trunk@9287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:57:37 +00:00
ryan
4c6b2b6cd3 Fix links for submenus that have real parents when a submenu with admin.php as a parent is current. see #7948
git-svn-id: http://svn.automattic.com/wordpress/trunk@9286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:42:57 +00:00
ryan
5e2544ac20 Fix links for submenus added to existing menus. see #7948
git-svn-id: http://svn.automattic.com/wordpress/trunk@9285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 20:33:59 +00:00
azaozz
c4453c9a0f Admin menu: double-click icon to go to default (first) location, show section header when folded
git-svn-id: http://svn.automattic.com/wordpress/trunk@9196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 10:32:26 +00:00
ryan
79656f6382 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 22:44:56 +00:00
azaozz
7a2fb7dcf5 Side folding for the menu, first run, still needs colours, styling and perhaps different icons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 05:10:16 +00:00
ryan
9ce46d3937 phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 18:21:16 +00:00
ryan
3e6cbe4ba7 Remove search from nav
git-svn-id: http://svn.automattic.com/wordpress/trunk@9070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 18:06:23 +00:00
ryan
46df2e223a Lose top menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-27 20:44:56 +00:00