Commit Graph

6566 Commits

Author SHA1 Message Date
Andrew Nacin 07c30fb4e9 Syndication feeds show the (#) most recent 'items', not posts, as it applies to comments as well. See #12556, see #7092
git-svn-id: https://develop.svn.wordpress.org/trunk@13823 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:17:19 +00:00
Andrew Nacin a258c8ec2b Use a generic string instead of "Your username" in user-edit.php to account for non-profile edits. props caesarsgrunt, fixes #11353
git-svn-id: https://develop.svn.wordpress.org/trunk@13820 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 13:56:10 +00:00
Andrew Nacin 48c90e9f13 Initialize _wp_page_template for the first page in wp_install_defaults(). fixes #12653, a Webkit/jQuery bug in Quick Edit (see ticket)
git-svn-id: https://develop.svn.wordpress.org/trunk@13817 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 04:42:08 +00:00
Andrew Nacin 3d67dd8d50 Use actual hostname instead of example.com in subdirectory/subdomain examples. fixes #12679, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@13811 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 02:49:23 +00:00
Ryan Boren eeb49f6bef Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13810 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-24 18:35:31 +00:00
Andrew Nacin adb0bd1ff3 Use set_time_limit(0) in import/mt.php. see #12595
git-svn-id: https://develop.svn.wordpress.org/trunk@13807 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:20:03 +00:00
Andrew Nacin 5bcb23827d Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: https://develop.svn.wordpress.org/trunk@13806 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:13:58 +00:00
Andrew Nacin e5f55c5b3d Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13805 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 23:03:31 +00:00
Andrew Nacin 945699faff Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13803 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 22:26:27 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Andrew Nacin 476fcfe595 Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144.
git-svn-id: https://develop.svn.wordpress.org/trunk@13800 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 14:01:43 +00:00
Dion Hulse 2e11ca383a Better cross-browser support for Custom Background image alignment preview. Props eddieringle. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13799 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 07:14:14 +00:00
Andrew Nacin eea330b58c More ms-options cleanup. Add label elements, and transition to checkboxes from radios where we can. Also fix notice in global_terms_enabled post handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@13796 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 06:02:04 +00:00
Andrew Nacin 30a7c8d8b6 More cleanup of ms-options.php. Allow textarea.large-text class to be applied to inputs as well.
git-svn-id: https://develop.svn.wordpress.org/trunk@13795 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 04:19:10 +00:00
Andrew Nacin fb28554cf0 Move the MS option for upload limit inline w/ the enabling/disabling of the upload limit.
git-svn-id: https://develop.svn.wordpress.org/trunk@13794 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 03:48:01 +00:00
Andrew Nacin f5262bb86e Fix the MS admin notice feed.
git-svn-id: https://develop.svn.wordpress.org/trunk@13792 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 02:23:45 +00:00
Andrew Nacin 450fa7374f Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13791 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 01:31:18 +00:00
Dion Hulse ff1ec0a955 Add @since to Custom Header functions
git-svn-id: https://develop.svn.wordpress.org/trunk@13790 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 11:02:05 +00:00
Andrew Nacin 752e02538a Move unregistered check to proper branch of code. prevents options.php panel from throwing errors. see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13789 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 07:38:10 +00:00
Dion Hulse 3ca4e60665 Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13788 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 06:06:18 +00:00
Dion Hulse 6f62362b96 Use correct cap checks and nonces for custom post_type's
git-svn-id: https://develop.svn.wordpress.org/trunk@13786 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 02:29:11 +00:00
Andrew Nacin ef46c26f1b Simplify the deprecated notice for unregistered settings. fixes #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13785 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 01:49:00 +00:00
Dion Hulse cf430f20d0 Do not display empty Appearance menu for subscribers. Need to use Menu API after the _admin_menu hook has fired.
git-svn-id: https://develop.svn.wordpress.org/trunk@13783 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 01:01:45 +00:00
Andrew Nacin 1559240917 Some improvements to the network.php mod_rewrite checks. see #12255
git-svn-id: https://develop.svn.wordpress.org/trunk@13782 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 22:44:07 +00:00
Dion Hulse 9b70561913 Fix Quick edit for non-page Hierarchical post_types. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13779 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 03:05:25 +00:00
Dion Hulse f9660db25a Add parent selection support for custom post_types to the Page Attributes metabox. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13778 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:46:31 +00:00
Dion Hulse 1cf092565c Tabs are better than spaces. Whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@13777 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:39:58 +00:00
Dion Hulse 724fc1b7e5 Fix notice in Page Templates when a Template is not set for the current page.
git-svn-id: https://develop.svn.wordpress.org/trunk@13776 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:37:16 +00:00
Dion Hulse f5795be7af Add additional columns to the Posts Comments view. Props arena. Fixes #11231
git-svn-id: https://develop.svn.wordpress.org/trunk@13775 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:35:17 +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
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
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 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 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 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 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
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
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
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
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 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 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 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
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
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
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 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
Dion Hulse 34e135fa81 Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
git-svn-id: https://develop.svn.wordpress.org/trunk@13686 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 03:59:40 +00:00
Ryan Boren 8ed4a506c4 Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13685 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 21:57:52 +00:00
Andrew Nacin 3a5b7f065b Fix assignment. Props Rasmus Lerdorf via ConFoo presentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@13684 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 19:32:48 +00:00
Andrew Nacin f367a78cb7 Check for empty(), not !is_array(), when trying to determine if wpdb::get_results() returned results. See #10607
git-svn-id: https://develop.svn.wordpress.org/trunk@13681 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 00:26:31 +00:00
Andrew Nacin b1ab90b3b3 Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13680 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 00:03:44 +00:00
Andrew Nacin 0e567e38f1 Don't allow access to network.php if running an MU network. It is only for networks created in 3.0. see #11816. Also, fix MS htaccess logic, see #12136
git-svn-id: https://develop.svn.wordpress.org/trunk@13679 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 23:53:03 +00:00
Andrew Nacin 403bf947e1 Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: https://develop.svn.wordpress.org/trunk@13676 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 22:58:43 +00:00
Andrew Nacin 0d3634ecbd Improve multisite rewrite rules. Construct rules dynamically and skip subdirectory-specific rules for subdomain installs. see #12136
git-svn-id: https://develop.svn.wordpress.org/trunk@13675 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 22:33:52 +00:00
Peter Westwood 09fdceae63 Tidy up the text which describes pingbacks. Fixes #12504 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13672 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 21:34:53 +00:00
Peter Westwood bb7b2b24a8 Make the sanitity check html in the installer more poetic.
git-svn-id: https://develop.svn.wordpress.org/trunk@13670 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 20:45:24 +00:00
Ryan Boren c55c95bbb0 Revert accidental junk. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13669 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 20:26:24 +00:00
Ryan Boren a1d788a893 Custom background color fixes. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13668 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 20:21:58 +00:00
Andrew Nacin 727e407dcb Add valign, and formatting and i18n improvement.
git-svn-id: https://develop.svn.wordpress.org/trunk@13665 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 18:16:26 +00:00
Andrew Nacin 26890f0131 get_blog_count() returns a number, not an object. Also, i18n fixes -- add plural string, and translator context. see #12531 for get_blog_count() discussion. see #12409 for ms-sites cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@13664 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 18:02:40 +00:00
Andrew Nacin 82bc5eb308 Simplify hackish logic. props miqrogroove. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13663 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:30:02 +00:00
Andrew Nacin e22682a5dc Fix logic and pull static code out of a loop. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13662 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:21:18 +00:00
Andrew Nacin 8d0a3589c9 Use disabled() form helper. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Ryan Boren a4ac7f25ee Allow custom post types to have custom icons. Props ptahdunbar, Denis-de-Bernardy. fixes #12434
git-svn-id: https://develop.svn.wordpress.org/trunk@13660 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:05:16 +00:00
Ryan Boren e333b6925a Use page icon for page menus. fixes #12583
git-svn-id: https://develop.svn.wordpress.org/trunk@13659 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:54:47 +00:00
Andrew Nacin 90182075c0 Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Andrew Nacin ef7e0ef243 Remove dummy contextual help from network.php. We'll need some real docs. #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13656 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 03:15:09 +00:00
Andrew Nacin d6adc0701c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13655 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 01:51:24 +00:00
Andrew Nacin 10a2ebb829 Fix typo, trim whitespace. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13654 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 23:38:05 +00:00
Ryan Boren 970bda3701 Menu editor fixes. Props yoavf. fixes #12545 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13651 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 20:27:42 +00:00
Ron Rennick 0b9d0bbfe0 network options UI cleanup, see #12465
git-svn-id: https://develop.svn.wordpress.org/trunk@13649 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 19:00:43 +00:00
Ron Rennick 8de3d20dc2 Display a warning when processing an unregistered setting, see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13646 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 17:44:32 +00:00
Ron Rennick c466a4bf82 Delete blog to Delete site, props markmcwilliams, see #12572, code cleanup, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13645 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 16:06:53 +00:00
Andrew Nacin f59126029d Remove unused MU function and unnecessary separate includes file. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13644 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:46:05 +00:00
Dion Hulse 0b6f00c0c1 Fix paging links "Displaying x–y of z" for Pages. Props Utkarsh. Fixes #12552
git-svn-id: https://develop.svn.wordpress.org/trunk@13643 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:41:09 +00:00
Andrew Nacin c2bb5992ee Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13642 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:34:42 +00:00
Andrew Nacin 62569595aa Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13641 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:17:07 +00:00
Andrew Nacin cb3661a145 Bringing some order to the ms-options dumping ground. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13639 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 23:40:38 +00:00
Andrew Nacin 93f0c5ee6a Expose a read-only network.php once multisite is enabled, to ensure access to original configuration such as rewrite rules. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13638 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 22:42:36 +00:00
Andrew Nacin 7b324417fb Check and error out on port numbers in Tools > Network, which aren't allowed in multisite. see #11816, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13637 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 22:01:49 +00:00
Andrew Nacin 1c91399612 Don't page comments by default. fixes #12562
git-svn-id: https://develop.svn.wordpress.org/trunk@13636 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 21:04:41 +00:00
Ryan Boren 96ace89041 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13635 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:36:38 +00:00
Andrew Nacin e71a0b3db3 Rename WP_ENABLE_MULTISITE to WP_ALLOW_MULTISITE to minimize confusion. Prevent direct access to network.php without the constant unless the install process was already started. see #11816 for network.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13634 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:10:07 +00:00
Andrew Nacin a2381e9bd5 Jump right to network.php step 2 when an existing network is present. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13633 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 18:58:05 +00:00
Ron Rennick 372f453254 block invalid site names/urls in add site, see #11777
git-svn-id: https://develop.svn.wordpress.org/trunk@13630 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 17:06:58 +00:00
Dion Hulse e9374ebc17 Load WP_HTTP dependencies (translation support) for setup-config.php. Prevents a WSOD on attempted installs where external HTTP requests are blocked and/or timeout. Fixes #12514
git-svn-id: https://develop.svn.wordpress.org/trunk@13628 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 12:03:13 +00:00
Dion Hulse 528d441b24 Cleanup of options.php. Adds concise&early wp_die()'s, reformats some poorly chosen branching. See #12455
git-svn-id: https://develop.svn.wordpress.org/trunk@13627 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:57:49 +00:00
Dion Hulse 969ed4c5f8 Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
git-svn-id: https://develop.svn.wordpress.org/trunk@13624 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:23:03 +00:00
Andrew Nacin 91b380571d Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13622 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 06:14:42 +00:00
Ryan Boren 88268d637d Header selector styling fixes. Props iammattthomas. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13621 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 22:14:11 +00:00
Ryan Boren 0543da42ca Header selector styling fixes. Props iammattthomas. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13620 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 22:10:53 +00:00
Ron Rennick 13aa99629a allow existing media path on main site when converting to multisite, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@13619 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 19:52:29 +00:00
Ron Rennick 830efa5339 move multisite upgrade functions to upgrade.php, see #11771
git-svn-id: https://develop.svn.wordpress.org/trunk@13618 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 16:31:12 +00:00
Andrew Nacin 40b0dea470 Fix warning in users.php. Fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13617 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 14:30:17 +00:00
Andrew Nacin 735080c7fc Add nag for missing authentication keys in network.php. See #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13614 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 21:01:58 +00:00
Andrew Nacin 3b13adaca8 Remove htaccess.ms and wp-config.ms templates. These were brought inline in [13611]. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13613 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:11:18 +00:00
Andrew Nacin 8b6b16cb2a s/onClick/onclick/. props TobiasBg, see #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13612 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:06:32 +00:00
Andrew Nacin 809684b754 More network.php refinements. Bring wp-config and htaccess inline. Rename BLOGID_CURRENT_SITE to BLOG_ID_CURRENT_SITE for consistency with SITE_ID_CURRENT_SITE. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13611 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:01:32 +00:00
Andrew Nacin 8995a960b9 Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13610 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 19:36:35 +00:00
Ryan Boren 7850523e62 Update ms-sites UI. Props ocean90. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13609 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:31:10 +00:00
Dion Hulse 97d62bb8ce GUU: Add Update breakdown to Title attribute of update bubble. See #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13607 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 13:22:56 +00:00
Dion Hulse ea2b254de0 Code standards cleanup for wp-admin/options-general.php
git-svn-id: https://develop.svn.wordpress.org/trunk@13606 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 09:49:11 +00:00
Dion Hulse 6200c24c13 Fix HTML Validation. Props wahgnube. Fixes #12530.
git-svn-id: https://develop.svn.wordpress.org/trunk@13605 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 09:47:38 +00:00
Dion Hulse b70fbbf893 First pass at completing the Themes component of the GUU. See #12528
git-svn-id: https://develop.svn.wordpress.org/trunk@13604 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 09:12:49 +00:00
Dion Hulse d54c6651b9 Do not count Development versions of WordPress as having a core-update available. See #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13603 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:42:04 +00:00
Dion Hulse 0dbad6d7b5 First scrape at new UI for Bulk plugin upgrades. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@13602 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:39:50 +00:00
Andrew Nacin 2265baca72 Don't use deprecated functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@13601 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:02:26 +00:00
Dion Hulse 0da34463e7 Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
git-svn-id: https://develop.svn.wordpress.org/trunk@13600 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:00:42 +00:00
Ron Rennick aca65c0b4b set default value for upload_space_check_disabled, see #12463
git-svn-id: https://develop.svn.wordpress.org/trunk@13595 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 21:01:08 +00:00
Dion Hulse 14fd4175be Styling update for RightNow Dashboard widget. See #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13594 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 13:08:13 +00:00
Dion Hulse 9ef767fe07 Add an update count bubble to the Updates menu. See #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13593 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 12:45:24 +00:00
Dion Hulse 7f001d5aa2 Do not display user specified password during install. Fixes #12479. See #10396 for feedback
git-svn-id: https://develop.svn.wordpress.org/trunk@13592 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 12:25:30 +00:00
Dion Hulse 2343b09500 Show the dashboard instead of Update Core page for the dashboard.. Adds a dummy menu in the case of multisite or superadmin. see #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13591 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 06:20:41 +00:00
Ron Rennick 7f8ea354ac UI upgrade -> update, see #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13590 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 23:28:15 +00:00
Ryan Boren 59c1431b30 Display dash submenus correctly for all combinations of multisite and super admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@13589 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 23:11:51 +00:00
Dion Hulse d02dceca4d Move Tools -> Upgrade to Dashboard -> Updates. As per dev meetup today. See #12517
git-svn-id: https://develop.svn.wordpress.org/trunk@13588 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 21:24:43 +00:00
Ryan Boren bbf41d8ba0 Show the network enable menu only if config flag is set. Per wordpress-dev meetup. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13587 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 21:20:55 +00:00
Ryan Boren 44f26063e8 Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13586 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 18:59:24 +00:00
Ryan Boren d9ba4cb076 Rename Network menu to Super Admin. Avoids the Network/Site confusion and makes it clear that these menus require and exercise super admin capabilities. Opportunity for a caped icon. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13585 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 18:53:32 +00:00
Dion Hulse ce4937c008 Remove the now defunct Add New Themes menu item accidentally re-added in [13582]. See #12442
git-svn-id: https://develop.svn.wordpress.org/trunk@13583 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 12:25:38 +00:00
Dion Hulse 1790ccb38f Move 'Add New Themes' and 'Editor' to the bottom of the Appearance menu item. See #12442
git-svn-id: https://develop.svn.wordpress.org/trunk@13582 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 12:23: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
Andrew Nacin c7fdac20df Support for extra POST fields in WP_Filesystem. props dd32. see #12094
git-svn-id: https://develop.svn.wordpress.org/trunk@13577 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:53:39 +00:00
Ryan Boren 1604a2e58b Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ryan Boren 764b0e4068 Background color selection. Props lancewillett. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13574 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:10:43 +00:00
Ron Rennick b921286ce2 add features to export, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@13573 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 16:45:40 +00:00
Andrew Nacin 03e39017cf Second pass, replacing accidental ms-config-sample.php change with wp-config.ms. see #12094
git-svn-id: https://develop.svn.wordpress.org/trunk@13572 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:57:44 +00:00
Andrew Nacin 2080b68e12 First pass on network.php improvements. see #12094
git-svn-id: https://develop.svn.wordpress.org/trunk@13571 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:43:32 +00:00
Andrew Nacin 087a27bc52 Fix logic inversion in [13568]. props dd32. see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13570 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:34:20 +00:00
Andrew Nacin 4ee4545c85 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Ron Rennick 08bee6b6db set default value for add_new_users site option, see #12463
git-svn-id: https://develop.svn.wordpress.org/trunk@13564 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:57:12 +00:00
Andrew Nacin 1a5d7e2cae Only show "Privacy On" notice/link if the user can manage options. fixes #12440
git-svn-id: https://develop.svn.wordpress.org/trunk@13559 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 20:48:23 +00:00
Ryan Boren 0a2d1ad6ec Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: https://develop.svn.wordpress.org/trunk@13551 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:06:14 +00:00
Dion Hulse fdf51312a0 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: https://develop.svn.wordpress.org/trunk@13548 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:49:06 +00:00
Dion Hulse f76fe5ecb5 use __return_false in preference to create_function(..return true..). Props TobiasBg. See #12435
git-svn-id: https://develop.svn.wordpress.org/trunk@13546 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:39:08 +00:00
Dion Hulse 6045d8f79f Restore MultiSite checks on Upload settings, Add proper whitelisting. Props Denis-de-Bernardy. Fixes #11687
git-svn-id: https://develop.svn.wordpress.org/trunk@13545 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 10:31:06 +00:00
Mark Jaquith aabe2a1120 Clean up whitespace in nav-menu.php see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13544 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 03:59:28 +00:00
Mark Jaquith a4acc65fb3 Remove arrows from Nav Menu items. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13543 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 03:58:02 +00:00
Mark Jaquith 67e835d517 Hide All/Show All buttons should be links. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13542 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 03:28:11 +00:00
Andrew Nacin 5333c986e3 Fall back to displaying mime type when file has no extension. fixes #9924 props mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@13541 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:45:11 +00:00
Andrew Nacin 593cd94b1f Dynamically remove duplicates from the 'display name' profile.php option. fixes #10030
git-svn-id: https://develop.svn.wordpress.org/trunk@13539 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:34:43 +00:00
Andrew Nacin de7eec68d5 Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13538 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 21:04:37 +00:00
Ryan Boren a37ca909a6 Die if invalid post type is passed. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13537 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 20:33:03 +00:00
Ryan Boren 04899b5212 Make favorite actions custom post type aware. Props ptahdunbar. fixes #12433
git-svn-id: https://develop.svn.wordpress.org/trunk@13536 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 16:03:27 +00:00
Ryan Boren 8ef5d73550 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13535 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:48:01 +00:00
Ryan Boren a9dbad77ac Tab interface for Theme and Add New Theme. First pass. Props matveb, dremeda. see #12412
git-svn-id: https://develop.svn.wordpress.org/trunk@13534 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:28:20 +00:00
Ryan Boren 1e8b1d12c9 Tab interface for Theme and Add New Theme. First pass. Props matveb, dremeda. see #12412
git-svn-id: https://develop.svn.wordpress.org/trunk@13533 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:27:42 +00:00
Dion Hulse 97bd9628d7 Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13531 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:32:00 +00:00
Dion Hulse 78c20f584a Move Upload folder settings to Options -> Media. Props nacin. Fixes #11687
git-svn-id: https://develop.svn.wordpress.org/trunk@13529 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:13:15 +00:00
Dion Hulse 38817d572b A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Andrew Nacin aef79be496 Add action to top of widgets.php. props ptahdunbar, fixes #12190
git-svn-id: https://develop.svn.wordpress.org/trunk@13525 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 08:16:04 +00:00
Andrew Nacin 4705737542 Remove orphaned Turbo/Gears message in Opera. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13524 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 07:15:15 +00:00
Andrew Nacin e736145a98 Add a tables_to_repair filter. fixes #11707
git-svn-id: https://develop.svn.wordpress.org/trunk@13523 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 06:35:48 +00:00
Andrew Nacin 8ee771f548 Remove "Info" link in plugin installer. The "Install" link already opens a pop-up with information. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13522 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 06:01:00 +00:00
Andrew Nacin 6bee083b27 Remove unnecessary action attribute on a form. It should always post to itself. fixes #12165
git-svn-id: https://develop.svn.wordpress.org/trunk@13521 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 01:09:29 +00:00
Andrew Nacin a7ddb80402 Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13520 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:50:55 +00:00
Andrew Nacin c265d8f1da Boost number of comments allowed in configurable Recent Comments dashboard module. fixes #11891
git-svn-id: https://develop.svn.wordpress.org/trunk@13519 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:09:30 +00:00
Andrew Nacin f49bac6b8b Check in install.css for [13516]. Bump version, include version in readme.html. see #10835
git-svn-id: https://develop.svn.wordpress.org/trunk@13517 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 22:42:36 +00:00
Ryan Boren e17f4a48f7 Fix class name. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13515 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 21:02:24 +00:00
Andrew Nacin 13d3a5bb5b Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13514 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:29:24 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Ron Rennick fedda523ec use delete_option vs update_option, see #12383
git-svn-id: https://develop.svn.wordpress.org/trunk@13511 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:49:31 +00:00
Andrew Nacin 1cc5b31283 s/onClick/onclick/. props TobiasBg fixes #12429
git-svn-id: https://develop.svn.wordpress.org/trunk@13510 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:39:06 +00:00
Ron Rennick 7b043de017 dont flush rewrite rules while in switch_to_blog, see #12383
git-svn-id: https://develop.svn.wordpress.org/trunk@13509 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:34:57 +00:00
Ron Rennick 697d574e68 more ms delete user tweaks, props ocean90, see #12386
git-svn-id: https://develop.svn.wordpress.org/trunk@13506 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:24:25 +00:00
Ron Rennick 4e11ee5944 more ms warnings cleanup, props ocean90, see #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13505 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 18:41:45 +00:00
Ron Rennick a67e4e0f82 cleanup confirm delete users, props ocean90, fixes #12386
git-svn-id: https://develop.svn.wordpress.org/trunk@13504 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 16:58:17 +00:00
Dion Hulse 28f4212cd2 remove LOWER() in Order by clause for Post Meta. Allows MySQL to use the indexes properly. Props Denis-de-Bernardy. Fixes #11741
git-svn-id: https://develop.svn.wordpress.org/trunk@13503 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:15:54 +00:00
Dion Hulse 4997601dd1 Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395.
git-svn-id: https://develop.svn.wordpress.org/trunk@13499 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:19:09 +00:00
Dion Hulse aabadf3222 Add some filters to the Admin header. Fixes #11332
git-svn-id: https://develop.svn.wordpress.org/trunk@13497 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 10:23:55 +00:00
Dion Hulse 0cba2f4429 Use get_terms() in wp_count_terms(). Props scribu. Fixes #10746
git-svn-id: https://develop.svn.wordpress.org/trunk@13491 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:37:24 +00:00
Dion Hulse df84c657f9 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: https://develop.svn.wordpress.org/trunk@13489 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:12:05 +00:00
Dion Hulse 1a258ebff7 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: https://develop.svn.wordpress.org/trunk@13488 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:38:15 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse 0f8fd11400 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Andrew Nacin 09f09e4852 Clean up repetitive string. fixes #11850, props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13477 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:31:54 +00:00
Andrew Nacin 969f13bfa6 Add link to dashboard after core upgrade. props Simek, fixes #11629 see #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@13476 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:12:43 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin 7bf76c1e79 Fix typo in [13471]. Props miqrogroove, see #12417
git-svn-id: https://develop.svn.wordpress.org/trunk@13472 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:54:40 +00:00
Andrew Nacin ae12391427 Make it more obvious we're escaping values in options.php. fixes #12417
git-svn-id: https://develop.svn.wordpress.org/trunk@13471 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:50:00 +00:00
Andrew Nacin 50fe60235b When deleting plugins, check for uninstall hooks and warn of data deletion. Props cyberhobo. Pluralize some string(s). fixes #11850
git-svn-id: https://develop.svn.wordpress.org/trunk@13470 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:01:22 +00:00
Ron Rennick 7f3a30a9c0 add full file paths in network install, see #12332
git-svn-id: https://develop.svn.wordpress.org/trunk@13466 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:48:43 +00:00
Ron Rennick bff2814d07 warnings cleanup edit user, props dd32, see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick 60a2d570c0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin 5c8e788197 Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13459 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:44:26 +00:00
Andrew Nacin ddb16a0d4a Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13458 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:35:41 +00:00
Andrew Nacin 6e071efc20 Fix include paths. props nadavvin fixes #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13457 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:15:46 +00:00
Andrew Nacin 3a0b94a917 Fix typos. props TobiasBg fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Mark Jaquith 039b7de070 Plugin activation attempt goes through a function to show the same errors as the test. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13452 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:24:41 +00:00
Andrew Nacin 92c03dc898 Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Dion Hulse 279f93647a Add Tag::Cat converters to the Tools page. Props ninjaWR. Add Tag->Cat converter links on Manage Tags page. Fixes #8634
git-svn-id: https://develop.svn.wordpress.org/trunk@13450 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 04:04:36 +00:00
Ron Rennick e9ab8b9216 sanitize domains in ms-options, fixes #11775
git-svn-id: https://develop.svn.wordpress.org/trunk@13447 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 23:36:26 +00:00
Andrew Nacin 4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00
Ron Rennick 8513d92a8b cleanup warnings - add site, See #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@13445 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:13:24 +00:00
Ron Rennick e0307be84c add second set of Network admin buttons, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13443 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:23:25 +00:00
Ron Rennick 8c7c126923 switch super admin to network admin in multisite UI, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13442 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:16:16 +00:00
Ron Rennick 280e43154d remove WP rewrite rules from multisite options-permalink, props ocean90, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13440 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:59:04 +00:00
Ron Rennick 6afc78b158 more multisite UI rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13435 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:08:01 +00:00
Ron Rennick d4c1df745e prevent admins from removing themselves and main super admin from super admin list, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13431 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:16:31 +00:00
Andrew Nacin 36da22d334 Add a sanity check in install.php, accounting for whether PHP is running. fixes #11728
git-svn-id: https://develop.svn.wordpress.org/trunk@13428 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:31:40 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin 69915544d2 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +00:00
Peter Westwood a85f6a4122 Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@13420 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:19:03 +00:00
Ron Rennick 4b53dbcf81 move super admin list maintenance from ms-options to ms-users, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13419 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:11:54 +00:00
Peter Westwood 9ad6dd41c7 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Peter Westwood 0ecd82b142 Switch to using a filter for {en|dis}abling update services configuration. Fixes #12229. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13412 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:48:11 +00:00
Ryan Boren ab099ded21 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13410 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:04 +00:00
Peter Westwood 81e711cf87 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@13409 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:41:33 +00:00
Ryan Boren 60cb61e54f Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13406 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:06:44 +00:00