summaryrefslogtreecommitdiffstats
path: root/wp-includes/wpmu-functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/wpmu-functions.php')
-rw-r--r--wp-includes/wpmu-functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index ba7017b..ff004b8 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -16,7 +16,7 @@ function load_muplugin_textdomain($domain, $path = false) {
function wpmu_update_blogs_date() {
global $wpdb;
-
+
$wpdb->update( $wpdb->blogs, array('last_updated' => current_time('mysql')), array('blog_id' => $wpdb->blogid) );
refresh_blog_details( $wpdb->blogid );
@@ -460,7 +460,7 @@ function get_active_blog_for_user( $user_id ) { // get an active blog for user -
}
}
-function is_user_member_of_blog( $user_id, $blog_id = 0 ) {
+function is_user_member_of_blog( $user_id, $blog_id = 0 ) {
$user_id = (int) $user_id;
$blog_id = (int) $blog_id;
@@ -1168,7 +1168,7 @@ function wpmu_create_user( $user_name, $password, $email) {
return false;
$user_id = wp_create_user( $user_name, $password, $email );
- $user = new WP_User($user_id);
+ $user = new WP_User($user_id);
// Newly created users have no roles or caps until they are added to a blog.
update_usermeta($user_id, 'capabilities', '');
@@ -1787,7 +1787,7 @@ function global_terms( $term_id, $deprecated = '' ) {
if( get_option( 'default_category' ) == $term_id )
update_option( 'default_category', $global_id );
-
+
$wpdb->update( $wpdb->terms, array('term_id' => $global_id), array('term_id' => $term_id) );
$wpdb->update( $wpdb->term_taxonomy, array('term_id' => $global_id), array('term_id' => $term_id) );
$wpdb->update( $wpdb->term_taxonomy, array('parent' => $global_id), array('parent' => $term_id) );