[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-includes/ -> ms-deprecated.php (summary)

Deprecated functions from WordPress MU and the multisite feature. You shouldn't use these functions and look for the alternatives instead. The functions will be removed in a later version.

File Size: 347 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 14 functions

  get_dashboard_blog()
  generate_random_password()
  is_site_admin()
  graceful_fail()
  get_user_details()
  clear_global_post_cache()
  is_main_blog()
  validate_email()
  get_blog_list()
  get_most_active_blogs()
  wpmu_admin_do_redirect()
  wpmu_admin_redirect_add_updated_param()
  get_user_id_from_string()
  get_blogaddress_by_domain()

Functions
Functions that are not part of a class:

get_dashboard_blog()   X-Ref
Get the "dashboard blog", the blog where users without a blog edit their profile data.
Dashboard blog functionality was removed in WordPress 3.1, replaced by the user admin.

return: int

generate_random_password( $len = 8 )   X-Ref


is_site_admin( $user_login = '' )   X-Ref
Determine if user is a site admin.

Plugins should use is_multisite() instead of checking if this function exists
to determine if multisite is enabled.

This function must reside in a file included only if is_multisite() due to
legacy function_exists() checks to determine if multisite is enabled.


graceful_fail( $message )   X-Ref


get_user_details( $username )   X-Ref


clear_global_post_cache( $post_id )   X-Ref


is_main_blog()   X-Ref


validate_email( $email, $check_domain = true)   X-Ref


get_blog_list( $start = 0, $num = 10, $deprecated = '' )   X-Ref


get_most_active_blogs( $num = 10, $display = true )   X-Ref


wpmu_admin_do_redirect( $url = '' )   X-Ref
Redirect a user based on $_GET or $_POST arguments.

The function looks for redirect arguments in the following order:
1) $_GET['ref']
2) $_POST['ref']
3) $_SERVER['HTTP_REFERER']
4) $_GET['redirect']
5) $_POST['redirect']
6) $url

param: string $url

wpmu_admin_redirect_add_updated_param( $url = '' )   X-Ref
Adds an 'updated=true' argument to a URL.

param: string $url
return: string

get_user_id_from_string( $string )   X-Ref
Get a numeric user ID from either an email address or a login.

A numeric string is considered to be an existing user ID
and is simply returned as such.

param: string $string Either an email address or a login.
return: int

get_blogaddress_by_domain( $domain, $path )   X-Ref
Get a full blog URL, given a domain and a path.

param: string $domain
param: string $path
return: string



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu