Commit Graph

5661 Commits

Author SHA1 Message Date
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