Commit Graph

125 Commits

Author SHA1 Message Date
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
ryan
39b77958fd Remove per page search boxes
git-svn-id: http://svn.automattic.com/wordpress/trunk@8984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:54:14 +00:00
ryan
d018898cde Search box in navigation
git-svn-id: http://svn.automattic.com/wordpress/trunk@8983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:42:18 +00:00
ryan
4de5ddf600 Remove Write New Post button
git-svn-id: http://svn.automattic.com/wordpress/trunk@8982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 21:26:34 +00:00
azaozz
3c1095b79c Fix position of admin notices, includes patch by caesarsgrunt, fixes #7619
git-svn-id: http://svn.automattic.com/wordpress/trunk@8769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 06:36:31 +00:00
ryan
aa37570238 Menu fixes. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-26 04:27:00 +00:00
ryan
834f614a09 Global pagenow. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 00:21:38 +00:00
ryan
f2af4b9b6d gettext fix from msi08. fixes #7581
git-svn-id: http://svn.automattic.com/wordpress/trunk@8719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-23 21:07:22 +00:00
ryan
d3b414932c Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-20 21:42:31 +00:00
westi
7f894ae416 phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 06:30:38 +00:00
ryan
8377b52dc8 Bulk delete/activate/deactivate for plugins. Split plugins into active and available lists. Props DD32. see #7091
git-svn-id: http://svn.automattic.com/wordpress/trunk@8049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 18:09:31 +00:00
ryan
6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
westi
df492283e6 Work harder to create the correct links for new top level menus. Fixes #4907 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-07 14:48:10 +00:00
ryan
512f898b02 Side menu styling from mt. fixes #5948
git-svn-id: http://svn.automattic.com/wordpress/trunk@6972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 04:45:24 +00:00
ryan
d2eafce2c8 Close the last li.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 06:55:20 +00:00
ryan
d31bccdd44 Don't dangle our pipes
git-svn-id: http://svn.automattic.com/wordpress/trunk@6621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-16 06:48:08 +00:00
matt
0f5710ce2a Put menus in their proper place. TODO: refactor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 00:17:35 +00:00
matt
2ad5f03b1c There's a lockup in the tri-menu area. Traffic ahead. Eliminating generic file editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 11:47:06 +00:00
ryan
9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan
0a926ab21a Menu reparenting fixes. Now even more complex and incomprehensible.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 16:24:31 +00:00
ryan
eda9021317 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 07:31:29 +00:00
matt
07126127e6 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: http://svn.automattic.com/wordpress/trunk@4478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 06:09:48 +00:00
markjaquith
b32ddc7ea0 Make menu items linked with relative URLs. Props bmontgom. fixes #3246
git-svn-id: http://svn.automattic.com/wordpress/trunk@4443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-02 06:07:59 +00:00
matt
c437b9c9b0 Some UI cleanups, changes, and various miscellany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 01:14:47 +00:00
ryan
7a032342b3 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: http://svn.automattic.com/wordpress/trunk@4202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 20:46:39 +00:00
ryan
849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
1d49d0373f Dynamic menu reparenting. fixes #2257
git-svn-id: http://svn.automattic.com/wordpress/trunk@3536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 00:57:10 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
matt
28dbf2bf37 Nice new hook, fixes #2398
git-svn-id: http://svn.automattic.com/wordpress/trunk@3509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 09:03:13 +00:00
matt
d2e83e3d2c Fix menu annoyance. Clean up themes.php code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-05 23:33:10 +00:00
matt
09c016f904 Updated style
git-svn-id: http://svn.automattic.com/wordpress/trunk@2755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 08:14:41 +00:00
ryan
1e5d0b0736 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:29:55 +00:00
ryan
0218d1e198 Move menus from levels to capabilities.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 16:04:14 +00:00
matt
a08b652698 More user fixups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 00:05:41 +00:00
ryan
7d2cd84b73 Compare full name of plugin files rather than only the last 10 chars. http://mosquito.wordpress.org/view.php?id=1124 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-21 04:18:16 +00:00
ryan
b9433193df Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 16:30:00 +00:00
ryan
0e74c2524b Add callback API to add_menu_page(). Fix some menu bugs. http://mosquito.wordpress.org/view.php?id=975 Reviewed by Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 16:11:27 +00:00
rboren
ecf61fc382 Plugin option pages aren't displayed. http://mosquito.wordpress.org/view.php?id=902
git-svn-id: http://svn.automattic.com/wordpress/trunk@2362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-17 16:05:45 +00:00
saxmatt
a622032e5e menu tweak - http://mosquito.wordpress.org/view.php?id=255
git-svn-id: http://svn.automattic.com/wordpress/trunk@2279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 02:00:56 +00:00
rboren
3ec8c50289 Plugin page hooks. Props: morganiq. http://mosquito.wordpress.org/view.php?id=785 http://mosquito.wordpress.org/view.php?id=797
git-svn-id: http://svn.automattic.com/wordpress/trunk@2234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 01:15:06 +00:00
rboren
e8d51ff0d0 Fix menu highlighting for Users. Patch from MooKitty. Bug 577.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 20:55:36 +00:00
saxmatt
f035e1d966 Only check once, good idea: http://mosquito.wordpress.org/view.php?id=371
git-svn-id: http://svn.automattic.com/wordpress/trunk@1958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:53:16 +00:00
rboren
8b9b4d71da add_menu_page(), add_submenu_page(), add_management_page().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 01:50:37 +00:00
rboren
04786f267d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00