[ Index ]

PHP Cross Reference of WordPress

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: 272 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  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()

Functions
Functions that are not part of a class:

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



Generated: Fri May 25 03:56:23 2012 Hosted by follow the white rabbit.