Ticket #11807: ms_deprecated_functions.11807.diff
| File ms_deprecated_functions.11807.diff, 2.1 KB (added by , 16 years ago) |
|---|
-
wp-includes/ms-functions.php
1831 1831 1832 1832 function plugin_content() { 1833 1833 global $current_blog, $current_site; 1834 $this->delete_blog_hash = get_ settings('delete_blog_hash');1834 $this->delete_blog_hash = get_option('delete_blog_hash'); 1835 1835 echo '<div class="wrap"><h2>' . __('Delete Blog') . '</h2>'; 1836 1836 if( $_POST['action'] == "deleteblog" && $_POST['confirmdelete'] == '1' ) { 1837 1837 $hash = substr( md5( $_SERVER['REQUEST_URI'] . time() ), 0, 6 ); -
xmlrpc.php
443 443 */ 444 444 function wp_getUsersBlogs( $args ) { 445 445 // If this isn't on WPMU then just use blogger_getUsersBlogs 446 if( !function_exists( 'is_site_admin') ) {446 if( is_multisite() ) { 447 447 array_unshift( $args, 1 ); 448 448 return $this->blogger_getUsersBlogs( $args ); 449 449 } -
wp-admin/ms-edit.php
513 513 wp_die( __('Missing email.') ); 514 514 } 515 515 516 $password = generate_random_password();516 $password = wp_generate_password(); 517 517 $user_id = wpmu_create_user(wp_specialchars( strtolower( $user['username'] ) ), $password, wp_specialchars( $user['email'] ) ); 518 518 519 519 if( false == $user_id ) { -
wp-admin/load-styles.php
19 19 /** 20 20 * @ignore 21 21 */ 22 function _c() {}23 24 /**25 * @ignore26 */27 22 function _x() {} 28 23 29 24 -
wp-admin/load-scripts.php
19 19 /** 20 20 * @ignore 21 21 */ 22 function _c() {}23 24 /**25 * @ignore26 */27 22 function _x() {} 28 23 29 24