Commit Graph

12402 Commits

Author SHA1 Message Date
Dion Hulse 6be1550e75 Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:23:52 +00:00
Dion Hulse 513dc9d474 Allow for a custom Endpoint Mask to be passed to add_endpoint(). Allows for endpoints to be targeted to specific rewrite rules. Allow custom post_types to specify their Endpoint mask. Allows for post_type's rewrite rules to inherit Post endpoints, or alternatively, allows for add_endpoint() to target specific post_types. Fixes #12605
git-svn-id: https://develop.svn.wordpress.org/trunk@13773 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:05:32 +00:00
Dion Hulse 60d2b654ac Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global
git-svn-id: https://develop.svn.wordpress.org/trunk@13772 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 01:10:01 +00:00
Andrew Nacin 26db844b28 MS admin string improvements. fixes #12436, props mrmist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13771 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 22:09:34 +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
Andrew Nacin ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Ron Rennick 2bcc218df8 add NONCE_SALT to secret_salt_warning(), see #11764
git-svn-id: https://develop.svn.wordpress.org/trunk@13768 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 20:48:59 +00:00
Mark Jaquith 37cfd7d0c6 Update search engines blocked text so that we do not imply that the blog is actually private.
git-svn-id: https://develop.svn.wordpress.org/trunk@13767 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 14:40:50 +00:00
Dion Hulse ef886dfdfe Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13766 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:37:36 +00:00
Dion Hulse 2a77254f33 Show Background preview and options when no Image is uploaded. Display "Updated" div upon updates. Fix Colour Picker not loading after uploading a background image. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13765 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:33:29 +00:00
Dion Hulse 06c835eba5 Add instant background-color feedback to Custom Backgrounds. Add input validation to user-entered colour data. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13764 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:10:37 +00:00
Dion Hulse 12c0c3d475 Highlight correct submenu for Theme Installs. Fix PHP Notice for unset object properties (requires among others may not be set).
git-svn-id: https://develop.svn.wordpress.org/trunk@13763 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 08:03:52 +00:00
Andrew Nacin 13facc3c4c Clear cache of current theme name, if the theme name no longer exists. Fixes failures when an an active theme is renamed in its stylesheet. fixes #12428
git-svn-id: https://develop.svn.wordpress.org/trunk@13762 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 03:09:02 +00:00
Andrew Nacin 997913449c Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@13761 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 01:11:21 +00:00
Ron Rennick fa5bab87cd force users to re-login after installing network, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@13760 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 23:35:04 +00:00
Andrew Nacin c44cd2b999 Correct a copy-paste error in wp_manage_posts_columns().
git-svn-id: https://develop.svn.wordpress.org/trunk@13759 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 22:34:58 +00:00
Peter Westwood f93010c7ff Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13758 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 21:55:25 +00:00
Andrew Nacin 13073782f9 Add delimiter to tag listing on twentyten/single.php. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13757 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 21:45:08 +00:00
Peter Westwood 8d9aac849f Introduce apply_filters_ref_array(). See #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13756 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 21:24:07 +00:00
Andrew Nacin 61b6e5ae20 s/blog/site/. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@13755 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 20:50:00 +00:00
Andrew Nacin 21c4e3e30e Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
git-svn-id: https://develop.svn.wordpress.org/trunk@13754 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 20:17:15 +00:00
Andrew Nacin 39547dbeb9 Check in the script version bump for [13752]
git-svn-id: https://develop.svn.wordpress.org/trunk@13753 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:25:55 +00:00
Andrew Nacin 9fda6867f6 Remove top margin from custom background's page header.
git-svn-id: https://develop.svn.wordpress.org/trunk@13752 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:17:12 +00:00
Andrew Nacin 8aac1fc447 Use h3 (not h2) to break up sections on custom header/bg screens. Move div.updated message to right after the h2, as JS will move it there anyway.
git-svn-id: https://develop.svn.wordpress.org/trunk@13751 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:06:57 +00:00
Andrew Nacin 12ac793e78 Change "Blog" to "Site" in the Settings panels.
git-svn-id: https://develop.svn.wordpress.org/trunk@13750 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:46:25 +00:00
Andrew Nacin fa0be92d46 Add deprecated notices for Options > Misc settings registrations. see #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13749 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:32:27 +00:00
Andrew Nacin 263bce7e66 Coding standards: When vertically aligning for readability, use spaces (not tabs). see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13748 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:07:05 +00:00
Dion Hulse 0c9dd7b5f3 Clean up OPML link export script.
git-svn-id: https://develop.svn.wordpress.org/trunk@13747 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 08:39:01 +00:00
Dion Hulse 74758b574f Remove reminents of 'misc' from whitelist options too. See [13745] See #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13746 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:58:53 +00:00
Dion Hulse 17d50834af Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13745 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:50:43 +00:00
Dion Hulse 0b02d175c5 Remove the now defunct link update checker from core. Fixes #12437
git-svn-id: https://develop.svn.wordpress.org/trunk@13744 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:17:55 +00:00
Andrew Nacin 6eb9146145 Fix notice for when no menus are located. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13743 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 21:34:24 +00:00
Andrew Nacin 2256bb9a70 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13742 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:44:59 +00:00
Mark Jaquith 23f3d3f190 nav_menu taxonomy should be _builtin. props sillybean. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13741 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:03:02 +00:00
Mark Jaquith f9c0a28884 Bump nav-menu JS version
git-svn-id: https://develop.svn.wordpress.org/trunk@13740 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:01:31 +00:00
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