Commit Graph

12367 Commits

Author SHA1 Message Date
Mark Jaquith 1192ddf4f9 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: https://develop.svn.wordpress.org/trunk@13739 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:57:08 +00:00
Peter Westwood fc7db66476 Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13738 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:33:20 +00:00
Ryan Boren e89d1c5dcb Introduce WP_DEFAULT_THEME
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:42:49 +00:00
Ryan Boren f5ace6aec1 Use WP_FALLBACK_THEME when creating default stylesheet and template options.
git-svn-id: https://develop.svn.wordpress.org/trunk@13736 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:39:38 +00:00
Ryan Boren 5e588d11a8 WP importer fixes. Props briancolinger. fixes #12619
git-svn-id: https://develop.svn.wordpress.org/trunk@13735 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:56:10 +00:00
Ryan Boren 499172e7c8 LJ importer tweaks. Props briancolinger. fixes #12620
git-svn-id: https://develop.svn.wordpress.org/trunk@13734 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:52:44 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Mark Jaquith a28e43fa7f Separate update/create menu logic so new menus have name created properly. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13732 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:19:58 +00:00
Ryan Boren a62734b401 Fix menu item type labels. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13731 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:18:41 +00:00
Mark Jaquith a333213a6f No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13730 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:13:16 +00:00
Dion Hulse 812419455c post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
git-svn-id: https://develop.svn.wordpress.org/trunk@13729 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 12:35:48 +00:00
Dion Hulse 86b4433321 Add missing child themes codex link. Props jorbin. Fixes #12621
git-svn-id: https://develop.svn.wordpress.org/trunk@13728 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 10:19:26 +00:00
Mark Jaquith 3c5e5e8679 Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13727 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:33:53 +00:00
Mark Jaquith 7b72877a6e Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13726 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:10:47 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Matt Thomas 6db5b5d145 Fix missing domain translation, see #9015. Props momo360modena.
git-svn-id: https://develop.svn.wordpress.org/trunk@13724 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 23:11:30 +00:00
Mark Jaquith 2f56399c06 "setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13723 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:56:38 +00:00
Ryan Boren 5e9792f9f7 Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13722 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:01:49 +00:00
Andrew Nacin 3b60c95996 Fix branching, and correct deprecated version numbers. see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13721 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 20:59:26 +00:00
Matt Thomas d504e9c257 Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: https://develop.svn.wordpress.org/trunk@13720 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 20:17:22 +00:00
Ryan Boren 1bb04ed42a Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13719 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 19:20:10 +00:00
Ryan Boren 35236d8291 Introduce sanitize_key().
git-svn-id: https://develop.svn.wordpress.org/trunk@13718 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 19:19:32 +00:00
Andrew Nacin 39d8739a81 Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917. see #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13717 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 18:36:26 +00:00
Ryan Boren d1603a4246 Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13716 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:22:24 +00:00
Ron Rennick 9fe9b2390f first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ryan Boren 586b69b6f6 Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13714 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 16:34:30 +00:00
Ron Rennick accb84ed22 introduce global_terms_enabled site option, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13713 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 15:31:50 +00:00
Ron Rennick d6d03bf1a8 fix spelling/typo in nav menu message, props jorbin, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13712 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 22:46:30 +00:00
Ron Rennick 8cbf25a155 more descriptive message on blocking unregistered setting, see #11644, related #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13711 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 22:00:48 +00:00
Ryan Boren b8fb00fc92 Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
git-svn-id: https://develop.svn.wordpress.org/trunk@13710 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 21:16:41 +00:00
Ron Rennick feb6eacff1 block unregistered settings in multisite, see #11644, related #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13709 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 18:10:34 +00:00
Ron Rennick 14ebed05f1 move allow registration setting to registration settings in ms options, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13708 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:48:55 +00:00
Ron Rennick 2f1c39ad75 fix warning on cookie_domain, see #12457
git-svn-id: https://develop.svn.wordpress.org/trunk@13707 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:43:18 +00:00
Ron Rennick 5c18ec70f6 suppress htaccess update message in multisite, props ocean90, fixes #12604
git-svn-id: https://develop.svn.wordpress.org/trunk@13706 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:32:34 +00:00
Andrew Nacin a56fef6907 Only show multisite admin email notice if the email was changed. Add a "Cancel" link so the nag doesn't stay forever if the admin ends up not changing the email. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13705 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:18:00 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Nikolay Bachiyski 6a0c16eab3 Add POT file and languages dir for twentyten. Louis, I think this is the beginning of a beautiful friendship.
git-svn-id: https://develop.svn.wordpress.org/trunk@13703 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 14:29:11 +00:00
Ryan Boren 9d7ec14d5b Fix DST/Standard transition display.
git-svn-id: https://develop.svn.wordpress.org/trunk@13702 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 01:57:36 +00:00
Dion Hulse f80cc183fa Restore backwards compatibility of integer sidebars("sidebar-$i"). See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13701 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 12:12:23 +00:00
Dion Hulse 20a430c8fb Revert [13699], It breaks dynamic_sidebar(<int>) compatibility. Use a safer loop for clashes. See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13700 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 11:58:53 +00:00
Dion Hulse bd619cdb60 Simplify the Id uniqueness loops. Guard against more use-cases which might cause ID conflicts. See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13699 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 11:34:51 +00:00
Dion Hulse a486d9ed55 Ensure that for multiple sidebar additions, the ID is unique (even if specified). Append -2.. for > 1 sidebars. Props minusfive. Fixes #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13698 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 10:55:17 +00:00
Dion Hulse 47426465ed Limit redirect_guess_404_permalink() to the same post_type if it's specified in the query. See #12601
git-svn-id: https://develop.svn.wordpress.org/trunk@13697 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 05:06:47 +00:00
Andrew Nacin 22506c9721 install.php password UI cleanup. see #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13696 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 02:30:50 +00:00
Ryan Boren 3cf21a9178 Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
git-svn-id: https://develop.svn.wordpress.org/trunk@13695 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 20:01:02 +00:00
Ryan Boren d59218dbce Spacing between attributes. Props momo360modena. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13694 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 18:47:44 +00:00
Dion Hulse 6e43a2610d Fix no-redirect on no-js taxonomy term additions
git-svn-id: https://develop.svn.wordpress.org/trunk@13693 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 10:37:41 +00:00
Dion Hulse b687c2463c s/Upgrade WordPress/WordPress Updates/ title for GUU
git-svn-id: https://develop.svn.wordpress.org/trunk@13692 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 08:19:35 +00:00
Dion Hulse e7b6cd83c7 Prevent PHP Notices on 404 pages
git-svn-id: https://develop.svn.wordpress.org/trunk@13691 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 07:47:20 +00:00
Dion Hulse fa7d038cae Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325
git-svn-id: https://develop.svn.wordpress.org/trunk@13690 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 07:40:50 +00:00