Changeset 12879 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 01/27/2010 06:11:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r12863 r12879 1748 1748 } 1749 1749 1750 function wordpressmu_authenticate_siteadmin( $user, $password = '' ) {1751 if ( is_super_admin( $user->user_login ) == false && ( $primary_blog = get_usermeta( $user->user_id, "primary_blog" ) ) ) {1752 $details = get_blog_details( $primary_blog );1753 if ( is_object( $details ) && $details->spam == 1 )1754 return new WP_Error('blog_suspended', __('Blog Suspended.'));1755 }1756 return $user;1757 }1758 1759 1750 function wordpressmu_wp_mail_from( $email ) { 1760 1751 if ( strpos( $email, 'wordpress@' ) !== false )
Note: See TracChangeset
for help on using the changeset viewer.