Commit Graph

73 Commits

Author SHA1 Message Date
Andrew Nacin
22ba9295bf 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: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Dion Hulse
70af67f01c 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: https://develop.svn.wordpress.org/trunk@14127 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 03:38:47 +00:00
Dion Hulse
7d29486ed5 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: https://develop.svn.wordpress.org/trunk@13851 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:32:35 +00:00
Andrew Nacin
dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Ryan Boren
8aea5863d7 Fix submenus for post types. Props TobiasBg. see #12453
git-svn-id: https://develop.svn.wordpress.org/trunk@13579 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 00:15:55 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ron Rennick
d0f31a991c merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12712 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:11:52 +00:00
Ryan Boren
9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Ryan Boren
43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren
7f7efb19fd Trim query strings from menu entries before seeing if a corresponding file exists. fixes #10132 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11582 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 17:11:53 +00:00
Andrew Ozz
4a911beaf3 Load the menu folded (if set), load the editor earlier
git-svn-id: https://develop.svn.wordpress.org/trunk@11118 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 05:43:03 +00:00
Ryan Boren
21f4aae542 Ignore index.php in plugins dir when creating menus. Props Denis-de-Bernardy. fixes #6478
git-svn-id: https://develop.svn.wordpress.org/trunk@10890 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 18:20:33 +00:00
Ryan Boren
b4b4718ba8 Ignore index.php in plugins dir when creating menus. fixes #6478
git-svn-id: https://develop.svn.wordpress.org/trunk@10516 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-06 18:12:05 +00:00
Ryan Boren
b94b8e99a5 Ignore index.php in plugins dir when creating menus. fixes #6478
git-svn-id: https://develop.svn.wordpress.org/trunk@10510 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 21:02:46 +00:00
Andrew Ozz
a9d2fd15ff Filter menu IDs, fixes #8523
git-svn-id: https://develop.svn.wordpress.org/trunk@10123 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-08 03:46:26 +00:00
Andrew Ozz
59ab1f6366 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: https://develop.svn.wordpress.org/trunk@9784 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 12:02:28 +00:00
Ryan Boren
111173f543 Don't pass menus by ref. Causes loop counter problems in php4. fixes #7966
git-svn-id: https://develop.svn.wordpress.org/trunk@9598 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 21:50:31 +00:00
Andrew Ozz
4ebfcd94a5 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: https://develop.svn.wordpress.org/trunk@9578 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-09 14:54:39 +00:00
Andrew Ozz
394968b4e1 Attach 'Screen Options' button to the sliding layer and related changes
git-svn-id: https://develop.svn.wordpress.org/trunk@9363 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 01:22:24 +00:00
Ryan Boren
c4d44b8978 If parent uses admin.php, use admin.php for subs. fixes #7962
git-svn-id: https://develop.svn.wordpress.org/trunk@9337 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 22:40:19 +00:00
Andrew Ozz
8f9056c73c Admin menu styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9306 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 22:19:19 +00:00
Ryan Boren
89440182ee Fix current submenu designation when sub swith the same hook exist under different parents. fixes #7948
git-svn-id: https://develop.svn.wordpress.org/trunk@9287 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 20:57:37 +00:00
Ryan Boren
b4b522ffe3 Fix links for submenus that have real parents when a submenu with admin.php as a parent is current. see #7948
git-svn-id: https://develop.svn.wordpress.org/trunk@9286 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 20:42:57 +00:00
Ryan Boren
daaedd9c91 Fix links for submenus added to existing menus. see #7948
git-svn-id: https://develop.svn.wordpress.org/trunk@9285 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 20:33:59 +00:00
Andrew Ozz
05fc37769c Admin menu: double-click icon to go to default (first) location, show section header when folded
git-svn-id: https://develop.svn.wordpress.org/trunk@9196 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 10:32:26 +00:00
Ryan Boren
9862c7f729 Menu fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9178 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 22:44:56 +00:00
Andrew Ozz
85ed07784c Side folding for the menu, first run, still needs colours, styling and perhaps different icons.
git-svn-id: https://develop.svn.wordpress.org/trunk@9154 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 05:10:16 +00:00
Ryan Boren
6d727a9c2b phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9119 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 18:21:16 +00:00
Ryan Boren
be9af8a54b Remove search from nav
git-svn-id: https://develop.svn.wordpress.org/trunk@9070 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 18:06:23 +00:00
Ryan Boren
e5ddb1441d Lose top menu
git-svn-id: https://develop.svn.wordpress.org/trunk@9006 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 20:44:56 +00:00
Ryan Boren
aceb2047b4 Remove per page search boxes
git-svn-id: https://develop.svn.wordpress.org/trunk@8984 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 21:54:14 +00:00
Ryan Boren
4a6d6c4cd2 Search box in navigation
git-svn-id: https://develop.svn.wordpress.org/trunk@8983 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 21:42:18 +00:00
Ryan Boren
a976b20484 Remove Write New Post button
git-svn-id: https://develop.svn.wordpress.org/trunk@8982 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 21:26:34 +00:00
Andrew Ozz
37d4888191 Fix position of admin notices, includes patch by caesarsgrunt, fixes #7619
git-svn-id: https://develop.svn.wordpress.org/trunk@8769 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 06:36:31 +00:00
Ryan Boren
4533de26cf Menu fixes. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8735 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 04:27:00 +00:00
Ryan Boren
30f5099d4f Global pagenow. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8724 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 00:21:38 +00:00
Ryan Boren
0dc32ff774 gettext fix from msi08. fixes #7581
git-svn-id: https://develop.svn.wordpress.org/trunk@8719 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-23 21:07:22 +00:00
Ryan Boren
6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Peter Westwood
ab17f7283c phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8645 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 06:30:38 +00:00
Ryan Boren
b2d881412a Bulk delete/activate/deactivate for plugins. Split plugins into active and available lists. Props DD32. see #7091
git-svn-id: https://develop.svn.wordpress.org/trunk@8049 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 18:09:31 +00:00
Ryan Boren
6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Peter Westwood
ee5955c44d Work harder to create the correct links for new top level menus. Fixes #4907 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7183 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-07 14:48:10 +00:00
Ryan Boren
1089541c26 Side menu styling from mt. fixes #5948
git-svn-id: https://develop.svn.wordpress.org/trunk@6972 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 04:45:24 +00:00
Ryan Boren
4b50895652 Close the last li.
git-svn-id: https://develop.svn.wordpress.org/trunk@6622 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-16 06:55:20 +00:00
Ryan Boren
bcfbbd696e Don't dangle our pipes
git-svn-id: https://develop.svn.wordpress.org/trunk@6621 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-16 06:48:08 +00:00
Matt Mullenweg
4c1bc01ade Put menus in their proper place. TODO: refactor.
git-svn-id: https://develop.svn.wordpress.org/trunk@6558 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-05 00:17:35 +00:00
Matt Mullenweg
92a412f1f2 There's a lockup in the tri-menu area. Traffic ahead. Eliminating generic file editor.
git-svn-id: https://develop.svn.wordpress.org/trunk@6549 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 11:47:06 +00:00
Ryan Boren
e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren
19051fe4d3 Menu reparenting fixes. Now even more complex and incomprehensible.
git-svn-id: https://develop.svn.wordpress.org/trunk@4481 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 16:24:31 +00:00
Ryan Boren
7e226f1a94 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4480 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 07:31:29 +00:00