Commit Graph

5832 Commits

Author SHA1 Message Date
ryan f147d89df7 Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 22:36:50 +00:00
ryan 98c0c1065b Remove leading slash so that it doesn't get doubled when front is added. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 21:57:25 +00:00
ryan ca45669343 Retore p_status. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 20:37:18 +00:00
ryan 561bb70bb7 Add an echo arg to some general template functions. Props ShaneF. fixes #11842
git-svn-id: http://svn.automattic.com/wordpress/trunk@13048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 18:37:14 +00:00
wpmuguru f88db3571a add option to validate on switch_to_blog, see #12023
git-svn-id: http://svn.automattic.com/wordpress/trunk@13047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:50:26 +00:00
ryan ec07eb3768 Add description field for post types. Props ptahdunbar. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 16:52:02 +00:00
ryan 61859c5f5e First pass at custom background support. Needs UI love. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 20:37:12 +00:00
wpmuguru 26d0ba4c75 revert remove error_reporting from ms-files.php, remove _deprecated_file call from blogs.php, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 18:22:21 +00:00
wpmuguru 412aacfde1 remove error_reporting from ms-files.php, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 16:44:40 +00:00
ryan ff8934e482 posts_search filter. Props skeltoac. see #10667
git-svn-id: http://svn.automattic.com/wordpress/trunk@13037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 16:38:05 +00:00
ryan 6aabfcb1a8 Introduce DISALLOW_FILE_EDIT flag for enabling/disabling the theem and plugin editors. Props nacin. see #11306
git-svn-id: http://svn.automattic.com/wordpress/trunk@13034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 00:07:52 +00:00
ryan 4ddde1ab9d Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
git-svn-id: http://svn.automattic.com/wordpress/trunk@13032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 22:05:05 +00:00
ryan b34fd9b448 Change comment_form() markup to match twentyten. Props beaulebens. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@13030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 20:54:29 +00:00
ryan 4f4d2d446d Use comment_form instead of comments_form as the name of the hook. Props greenshady. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@13028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:27:02 +00:00
ryan c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan 3ff118e774 Rename get_post_link() to get_post_permalink() to avoid conflict with bbPress. Props scribu. fixes #12172
git-svn-id: http://svn.automattic.com/wordpress/trunk@13023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:23:32 +00:00
ryan 14e359a211 Use oEmbed for PollDaddy. Props Viper007Bond. fixes #12174
git-svn-id: http://svn.automattic.com/wordpress/trunk@13021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:15:13 +00:00
ryan 4b2651d1e6 Slightly more informative error message for themes missing their parent theme. Need to offer to install the parent if it is in the themes directory.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 23:19:39 +00:00
westi 333f5b0cfa Switch to a constant for the fallback theme. See #9015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 22:36:37 +00:00
ryan 8e1a363a8d Make twentyten the fallback theme. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 22:27:51 +00:00
westi 9a004ff9c8 Ensure we don't mangle the array of link categories when sanitising a link for editing. See #12168.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:59:24 +00:00
westi 41ca2c5621 Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:49:00 +00:00
westi f65140c7b3 Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:07:35 +00:00
ryan 6d9989e775 Fix warning when installing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:51:35 +00:00
ryan 52f281c0de jQuery 1.4.1. Props Simek. fixes #11900
git-svn-id: http://svn.automattic.com/wordpress/trunk@13011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 15:19:45 +00:00
dd32 884a4bca15 $term is an array not object, Fixes Notice on duplicate term checking. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 06:51:05 +00:00
dd32 90e046f5cd Add missing filter to sy:updateFrequency in RDF feed. Props ramiy. Fixes #12156
git-svn-id: http://svn.automattic.com/wordpress/trunk@13002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 03:43:52 +00:00
ryan ba4753fa8d Use canonical status list. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:51:24 +00:00
ryan d0f8826c0b Add more visibility args to post status registration. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:46:00 +00:00
ryan 9de60f3644 Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
ryan ec8ba1ccd2 Register the auto-draft post status. see #11889
git-svn-id: http://svn.automattic.com/wordpress/trunk@12992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:09:34 +00:00
westi 9ecd5ff925 Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:49:54 +00:00
westi df792469b4 Ignore the continents-cities mo files when searching for the list of installed language packs. Fixes #12019
git-svn-id: http://svn.automattic.com/wordpress/trunk@12988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 11:42:20 +00:00
markjaquith 0f924eee99 Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
dd32 16a769cde9 Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: http://svn.automattic.com/wordpress/trunk@12982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 05:15:26 +00:00
dd32 9147f8ba7e Redirect ?page_id=xx for the Posts page to the posts page. Fixes #11991
git-svn-id: http://svn.automattic.com/wordpress/trunk@12980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 03:50:55 +00:00
dd32 12c0b72d9e Redirect home_url variants to home_url(). See #11991
git-svn-id: http://svn.automattic.com/wordpress/trunk@12979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 03:40:24 +00:00
ryan ba6228f2b7 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: http://svn.automattic.com/wordpress/trunk@12978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:49:19 +00:00
wpmuguru f3cae9b9d9 restore shell wp-content/blogs.php & add deprecated warnings, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:40:22 +00:00
wpmuguru 908a280df4 Reduce DB queries by half during MU signup, props donncha, see #12140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:59:24 +00:00
ryan b0e1f27a3c Pass to post_type_link filter. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:54:40 +00:00
dd32 dede5d2f46 Simplify https:// conversion in plugins_url()/content_url() functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@12964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 12:45:21 +00:00
dd32 226600f5b2 Fix plugins_url() for MU-plugins when running on Windows. Fixes #12080
git-svn-id: http://svn.automattic.com/wordpress/trunk@12963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 12:39:04 +00:00
markjaquith ca69d67041 Use addslashes() instead of esc_sql() in add_magic_quotes() to avoid the pretense of DB association. props miqrogroove
git-svn-id: http://svn.automattic.com/wordpress/trunk@12961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 23:05:13 +00:00
westi 12038571e3 Fix bug in _search_terms_tidy. Fixes #12060 for trunk props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 21:54:24 +00:00
westi 530f9273a7 Revert [12460] for now while we consider a better fix. See #10041
git-svn-id: http://svn.automattic.com/wordpress/trunk@12957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 21:40:02 +00:00
ryan f4ad08882e Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:00:18 +00:00
wpmuguru 297f3e3757 close dir in recurse_dirsize(), props ddebernardy, fixes #11749
git-svn-id: http://svn.automattic.com/wordpress/trunk@12953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:56:36 +00:00
wpmuguru 603d6cb6df add siteurl filter for ms upgrades, props nacin, fixes #12069
git-svn-id: http://svn.automattic.com/wordpress/trunk@12952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:26:38 +00:00
ryan 9f8149616d ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:57:32 +00:00
ryan 3894489a5f Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:50:36 +00:00
ryan cf7da6eab8 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: http://svn.automattic.com/wordpress/trunk@12946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:46:25 +00:00
ryan 92aef4cc3c Make calendar valid HTML 5. Props iammattthomas. fixes #11554
git-svn-id: http://svn.automattic.com/wordpress/trunk@12943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 16:06:58 +00:00
markjaquith 32d18323de Use $required_php_version. Props nacin. fixes #11637
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 21:38:09 +00:00
ryan 679a7b5b88 Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 19:50:37 +00:00
ryan d45311c9fb Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
wpmuguru d1069acd38 improvements to custom content dir support, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:19:56 +00:00
wpmuguru 3ff2ace58a fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 01:00:57 +00:00
ryan 48aec5f822 phpdoc for global_terms(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 22:58:06 +00:00
ryan 1592ca9ff2 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
ryan 5922f7e2c4 Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
wpmuguru 998704b8d7 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 16:32:19 +00:00
markjaquith 3e0f3f54d6 Initialize $post_type_query_vars to avoid is_array() warning. see #12923
git-svn-id: http://svn.automattic.com/wordpress/trunk@12925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 03:18:27 +00:00
ryan ed24c3dd40 Permalinks for custom post types. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 23:12:26 +00:00
wpmuguru 88a89ebe44 add WP_DEBUG define check in DB code, props dxjones, see #12041
git-svn-id: http://svn.automattic.com/wordpress/trunk@12922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 22:22:21 +00:00
wpmuguru b01479de37 reorganize code on ms startup. props nacin, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:26:08 +00:00
ryan f1a954d944 Introduce get_the_date(). Props jeremyclarke. fixes #11264
git-svn-id: http://svn.automattic.com/wordpress/trunk@12917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 16:28:54 +00:00
westi e1ec3c052e Support specific author templates by id or user_nicename. Fixes #12064 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 21:32:39 +00:00
westi 1e5c83ab2a Fix typo in phpdoc for sanitize_text_field. Fixes #12091 props joshtime.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 15:41:19 +00:00
ryan 19c9d0bb79 Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:16:07 +00:00
ryan 1de8e037c8 Integrate mu_locale() into get_locale(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:03:51 +00:00
ryan 4e9de8d231 Code style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:53:32 +00:00
ryan 7cf294e0e1 Update phpdoc to note that the default for public is false. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 18:26:33 +00:00
ryan 1b9caf7846 ms-settings cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 16:26:46 +00:00
ryan bdfb0460da Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: http://svn.automattic.com/wordpress/trunk@12890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 19:00:16 +00:00
ryan 59e57dd6af User correct var. Props nacin. fixes #12066
git-svn-id: http://svn.automattic.com/wordpress/trunk@12889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:30:50 +00:00
ryan 394eba5eb1 Clean up cache re-init code in Multisite. Props nacin. fixes #12065
git-svn-id: http://svn.automattic.com/wordpress/trunk@12888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:28:44 +00:00
ryan 39957f273e Add ms-default-constants.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:16:58 +00:00
wpmuguru 493a307cf7 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 16:09:52 +00:00
ryan 0b2eaf01c5 Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
git-svn-id: http://svn.automattic.com/wordpress/trunk@12882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 21:29:07 +00:00
ryan 40e61f93e5 Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:42:23 +00:00
wpmuguru cda3031b06 Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
ryan 65ac9b6827 Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 18:11:17 +00:00
ryan 01b992c457 Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
git-svn-id: http://svn.automattic.com/wordpress/trunk@12877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:45:49 +00:00
ryan 8fbdf18a6b Respect maximum embed height. Props Viper007Bond. fixes #11980
git-svn-id: http://svn.automattic.com/wordpress/trunk@12875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:38:48 +00:00
ryan 1b98b9c106 Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:10:32 +00:00
ryan 4d5e716f1c Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
git-svn-id: http://svn.automattic.com/wordpress/trunk@12868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:58:29 +00:00
wpmuguru ecda3f2745 deprecate validate_email(), fixes #11745
git-svn-id: http://svn.automattic.com/wordpress/trunk@12863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 01:27:25 +00:00
ryan 699387f747 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
ryan cd57004569 Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:46:09 +00:00
ryan 9f1aa91f37 Integrate maybe_cancel_post_by_email() into wp-mail.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:53:59 +00:00
ryan 212533c466 Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:42:37 +00:00
ryan ab33443daf Integrate login_spam_check() into wp_authenticate_username_password(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:25:34 +00:00
ryan 9b79d3d516 Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:15:43 +00:00
ryan e6b0d64b4e Integrate fix_upload_details() into wp_upload_dir(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:02:11 +00:00
ryan 40570257b1 Merge mu_upload_dir() into wp_upload_dir(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 19:04:55 +00:00
ryan 2df0c3eabe Remove rss_gc(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:47:34 +00:00
ryan 5d2365a499 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
ryan 692cdf0c7b Move load_muplugin_textdomain() to l10n.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@12840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:25:31 +00:00
ryan 8d48c939fa Deprecate get_user_details(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:16:49 +00:00
ryan 844056354b Deprecate get_current_user_id(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:12:38 +00:00
wpmuguru 77c73fa456 Change VHOST check to is_subdomain_install(), See #11796
git-svn-id: http://svn.automattic.com/wordpress/trunk@12836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 15:20:49 +00:00
dd32 f80381d9a5 Remove accidental capability testing code. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:37:25 +00:00
dd32 32adec13a9 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
ryan 9fc2bef3d1 Move blog deletion to ms-delete-site.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:46:41 +00:00
ryan b090a0336f Deprecate graceful_fail(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:09:43 +00:00
ryan 63f9a62af6 phpdoc and cleanup. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:01:43 +00:00
ryan a7c1b164f6 Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
git-svn-id: http://svn.automattic.com/wordpress/trunk@12823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:50:01 +00:00
ryan 504c7a7e0b Deprecate magpie. Props nacin. fixes #11982
git-svn-id: http://svn.automattic.com/wordpress/trunk@12822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:37:05 +00:00
ryan dd69637c65 Add optional comment ID argument to comment template functions. Props filosofo. fixes #12006
git-svn-id: http://svn.automattic.com/wordpress/trunk@12821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 17:34:13 +00:00
dd32 34cc6ab57e Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
markjaquith 7f91337a3b Shake the JS weight away!
git-svn-id: http://svn.automattic.com/wordpress/trunk@12817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 06:16:17 +00:00
markjaquith 29bafc4bac seismic failures.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 23:07:56 +00:00
ryan 44ba9a0ec0 Update @since. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@12811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:13:31 +00:00
ryan 41eeb07634 comment_form(), first pass. Props beaulebens. see #10910
git-svn-id: http://svn.automattic.com/wordpress/trunk@12810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:06:37 +00:00
wpmuguru 2caa9c7e40 Change get_blogs_of_user to include 3.0 main site, Fixes #11975
git-svn-id: http://svn.automattic.com/wordpress/trunk@12807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:51:23 +00:00
ryan 3609f388f5 Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:35:59 +00:00
ryan 96b459d0b4 Fix warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:14:22 +00:00
ryan b1b44019ff Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan 92bf8d124c Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 17:27:28 +00:00
donncha 6847f8ea95 Delete the useremail cache when user updated. MU signup for old email fails until cache invalidated otherwise.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 16:06:31 +00:00
ryan 986a18cf1b jQuery 1.4. fixes #11900
git-svn-id: http://svn.automattic.com/wordpress/trunk@12792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 22:31:48 +00:00
ryan 141583e4c6 Add flag to taxonomy registration allowing permalinks to be prepended with front, or not. Props prettyboymp. fixes #11449
git-svn-id: http://svn.automattic.com/wordpress/trunk@12791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 22:25:16 +00:00
westi fa4b646642 Allow for an alternative handler for wp_die to be used if required. See #11892.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 22:13:20 +00:00
ryan 94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
wpmuguru 2f3f5b351f allow www installs to enable multisite, see #11945
git-svn-id: http://svn.automattic.com/wordpress/trunk@12787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 17:20:23 +00:00
markjaquith b42ea9c4ea Update the inline documentation for HTTP to reflect the true order of HTTP transports
git-svn-id: http://svn.automattic.com/wordpress/trunk@12785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 12:02:55 +00:00
ryan decf135295 Update trash and right now links for pages. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan c679e65c9c Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 21:58:13 +00:00
ryan af9c401d97 Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:09:41 +00:00
dd32 6ad023b5e0 White space clean-up. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 07:44:47 +00:00
dd32 da10910302 Typo fix in Network Plugins. Props nacin. See #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 07:37:53 +00:00
wpmuguru 515d1354da sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 01:14:05 +00:00
ryan aac0a1230a Use API to set the user's role. see #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:12:04 +00:00
ryan 42d8102a9c Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
git-svn-id: http://svn.automattic.com/wordpress/trunk@12768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:45:44 +00:00
ryan 57c4b79b91 Introduce clean_user_cache(). fixes #11761
git-svn-id: http://svn.automattic.com/wordpress/trunk@12766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:23:11 +00:00
ryan 9c02a43b93 Typo fix. Props mentel_br. fixes #11921
git-svn-id: http://svn.automattic.com/wordpress/trunk@12763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:28:48 +00:00
ryan 506c22bfd5 phpdoc for load.php, return some includes to global scope. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:27:03 +00:00
ryan 7e294fd282 phpdoc for metadata API. Props wnorris. fixes #11943
git-svn-id: http://svn.automattic.com/wordpress/trunk@12761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:08:04 +00:00
ryan a06a4c6b70 Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:01:39 +00:00
wpmuguru fe7b362bd1 options network page, db variable change, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:18:52 +00:00
ryan e52de33dc2 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
ryan f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
dd32 7f34057330 Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
markjaquith e0872e840c Make it obvious that do_shortcode_tag passes the tag as the third parameter. plus code spacing cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 22:51:15 +00:00
dd32 45b2389358 Fix Typo in r12747, Move cURL Redirection check higher. See #11305
git-svn-id: http://svn.automattic.com/wordpress/trunk@12749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 09:31:37 +00:00
dd32 5c739a4b9c Allow WP_HTTP_Fopen to send extra headers and custom user-agents. See #11888
git-svn-id: http://svn.automattic.com/wordpress/trunk@12748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 09:03:56 +00:00
dd32 b34906e9ec Allow cURL to follow redirects when running under safe_mode or open_basedir. See #11305
git-svn-id: http://svn.automattic.com/wordpress/trunk@12747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:15:52 +00:00
dd32 8c109d738b Fix WP_Http_Streams to return a single set of headers in the event of redirections. Fixes #11555
git-svn-id: http://svn.automattic.com/wordpress/trunk@12746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:05:58 +00:00
dd32 651925fe74 Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:00:41 +00:00