Commit Graph

11985 Commits

Author SHA1 Message Date
ryan
5de87dcff1 Order menus by ID so that the lowest ID is always used when guessing which menu to use in wp_nav_menu(). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:13:13 +00:00
ryan
b77baf5afb Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:06:44 +00:00
ryan
46ae8913d3 Pass taxonomy when looking for duplicate term slug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:04:02 +00:00
ryan
c6261f5ff8 Default header selector, second pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:32:10 +00:00
ryan
a8a6d742e1 Default header selector, first pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
wpmuguru
e8503ab54a move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 17:10:00 +00:00
ryan
b61d45fa11 s/Custom Menu/Menu/. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 16:57:57 +00:00
ryan
4039b181c6 Set meta after new menu is inserted. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 16:49:57 +00:00
dd32
9d54f38d89 Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 11:09:34 +00:00
dd32
f51247ef50 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
markjaquith
280a19ff6c Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:48:17 +00:00
dd32
cb8fd85d1e Prefer $comment::comment_post_ID over $post global. Fixes #12217
git-svn-id: http://svn.automattic.com/wordpress/trunk@13396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 07:56:25 +00:00
markjaquith
18c313559f Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 05:40:03 +00:00
wpmuguru
63a75fff93 minify custom-navigation.css, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 00:37:44 +00:00
wpmuguru
9185676481 Use standard WP UI markup in menu admin, props ptahdunbar, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 00:03:42 +00:00
wpmuguru
4378b20de3 Warnings, code & UI/UX cleanup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 23:12:51 +00:00
markjaquith
9296276140 Bump script version
git-svn-id: http://svn.automattic.com/wordpress/trunk@13391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:54:00 +00:00
markjaquith
6141567b74 Hide URL editing UI for page and category menu items. TODO: eliminate all usage of guid. Use custom field instead. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:52:29 +00:00
ryan
e2bec6bd60 only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:13:23 +00:00
ryan
730f87bf97 Formatting cleanups for the nav menu widget. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:33:27 +00:00
wpmuguru
e50b8fa348 database code cleanup, See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:30:13 +00:00
wpmuguru
c9df482e54 update wpdb blogid using setter, See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 21:07:23 +00:00
ryan
a312eea3a7 Hash to static gravatar domains. Props apokalyptik.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:50:40 +00:00
wpmuguru
b15477fd95 more multisite UX rebranding, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:45:02 +00:00
markjaquith
a5b99ad4e6 Add missing form ending tag. Props ocean90. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:14:12 +00:00
nacin
8bcc5969dc Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +00:00
markjaquith
d01197b568 Some XSS escaping love for nav menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:10:12 +00:00
nacin
3dcd9176de s/existant/existent/
git-svn-id: http://svn.automattic.com/wordpress/trunk@13380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:01:37 +00:00
wpmuguru
9ee37eb920 more multisite UX rebranding, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:56:10 +00:00
ryan
635409844e Rename nav menu widget. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:25:13 +00:00
ryan
9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
nacin
f423a2ee5e More wpdb cleanups, see #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:58:52 +00:00
ryan
12f9c6113e Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:52:54 +00:00
wpmuguru
a762587cca allow update services in multisite, props ocean90, fixes #12229
git-svn-id: http://svn.automattic.com/wordpress/trunk@13374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 17:31:42 +00:00
nacin
9ec5ce818a Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@13373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 16:45:33 +00:00
markjaquith
39b5d188b5 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:37:00 +00:00
markjaquith
3024e581ca Use esc_js() so pages with quotes can be added to custom menu. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:20:45 +00:00
markjaquith
67aed4d0a2 Fix menu links. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:11:49 +00:00
markjaquith
654c7a3888 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 09:43:09 +00:00
ryan
091d1150d3 Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
ryan
ee734e1e68 Reapply stomped part of [13364]. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:10:27 +00:00
ryan
d5074db5ea Reorg nav menu files. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00
markjaquith
1ed4ece13d Increment the menu ID so the first menu works. props junsuijin. fixes #12339
git-svn-id: http://svn.automattic.com/wordpress/trunk@13365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:58:14 +00:00
markjaquith
020862b5a4 Clean up the JS/no-JS CSS. Fix up the no-JS message. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:52:48 +00:00
nacin
cddfbdd914 Coil the kses entities whitelist. See #12284
git-svn-id: http://svn.automattic.com/wordpress/trunk@13363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:33:14 +00:00
ryan
2430c97718 Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:41:35 +00:00
ryan
82d81675f9 s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:18:13 +00:00
ryan
911a6b1c09 Allow inline saves for non-public custom post types. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:45:38 +00:00
ryan
fc6d49427e Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:43:41 +00:00
ryan
0a81feaaeb Whitelist entities. Props miqrogroove. see #12284
git-svn-id: http://svn.automattic.com/wordpress/trunk@13358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:37:20 +00:00