Commit Graph

27 Commits

Author SHA1 Message Date
Andrew Nacin aedda3210c Deprecate get_user_id_from_string() in favor of get_user_by( $field ) where $field is 'email' or 'login'. props SergeyBiryukov. fixes #23190.
git-svn-id: https://develop.svn.wordpress.org/trunk@23438 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-16 03:02:15 +00:00
Ryan Boren 4c0121178b Undeprecate *_blog_option() by popular demand. Put them back in ms-blogs.php since direct inclusion of ms-blogs.php/ms-functions.php is unforntunately common.
see #21432


git-svn-id: https://develop.svn.wordpress.org/trunk@21480 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 17:11:15 +00:00
Ryan Boren ce960f67a0 Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option().
Use the regular option functions wrapped in switch_to_blog() and restore_current_blog() instead.

Group multiple operations within a single switch where possible.

fixes #21432


git-svn-id: https://develop.svn.wordpress.org/trunk@21414 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 17:51:42 +00:00
Ryan Boren 6f9ceb2326 Introduce WP_User::exists(). see #20372
git-svn-id: https://develop.svn.wordpress.org/trunk@20378 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 19:18:45 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren 805762af8f Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
git-svn-id: https://develop.svn.wordpress.org/trunk@18834 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:13:13 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Nacin 18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin 1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Ryan Boren d397a1c20d Fix is_site_admin() when passing a username. Props francescolaffi. fixes #14046
git-svn-id: https://develop.svn.wordpress.org/trunk@15328 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:11:36 +00:00
Ryan Boren 1a68c0e8bb Update get_current_user_id() and move to user.php. Props filosofo. fixes #13785
git-svn-id: https://develop.svn.wordpress.org/trunk@15174 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 15:12:15 +00:00
Ryan Boren ce41df6dd6 Resurrect get_blog_list() and get_most_active_blogs() but leave deprecated. Props ocean90. fixes #13773
git-svn-id: https://develop.svn.wordpress.org/trunk@15170 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 13:56:20 +00:00
Ryan Boren c7be6ba80f Deprecate get_most_active_blogs() and get_blog_list(). Props ocean90. fixes #13773
git-svn-id: https://develop.svn.wordpress.org/trunk@15168 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 13:00:09 +00:00
Ryan Boren e53c2d4da4 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: https://develop.svn.wordpress.org/trunk@14032 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 15:28:10 +00:00
Andrew Nacin 5bf79d1d8e File-level phpdoc for multisite files.
git-svn-id: https://develop.svn.wordpress.org/trunk@13998 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 13:29:35 +00:00
Ron Rennick 014f5da245 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12885 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 16:09:52 +00:00
Ryan Boren 2525f1169b Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
git-svn-id: https://develop.svn.wordpress.org/trunk@12868 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 13:58:29 +00:00
Ron Rennick b0b57be325 deprecate validate_email(), fixes #11745
git-svn-id: https://develop.svn.wordpress.org/trunk@12863 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 01:27:25 +00:00
Ryan Boren 909191a37d Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren 94a9904b69 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren dd519ac669 Deprecate get_user_details(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12839 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:16:49 +00:00
Ryan Boren 127b36e064 Deprecate get_current_user_id(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12838 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:12:38 +00:00
Ryan Boren 15e5d91692 Deprecate graceful_fail(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12827 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:09:43 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren cc623632d3 Deprecate is_site_admin. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12645 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 15:50:46 +00:00
Peter Westwood 471ccb4fac phpDoc for ms-deprecated.php props nacin.
Make generate_random_password use wp_generate_password()
Fixes #11746.

git-svn-id: https://develop.svn.wordpress.org/trunk@12635 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:32:44 +00:00
Ryan Boren b343c9ee06 Deprecate generate_random_password(). fixes #11746
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:22:51 +00:00