Changeset 45874 for trunk/src/wp-includes/user.php
- Timestamp:
- 08/22/2019 01:52:16 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r45858 r45874 1666 1666 $user_activation_key = empty( $userdata['user_activation_key'] ) ? '' : $userdata['user_activation_key']; 1667 1667 1668 if ( isset( $userdata['spam'] ) && ! is_multisite() ) {1668 if ( ! empty( $userdata['spam'] ) && ! is_multisite() ) { 1669 1669 return new WP_Error( 'no_spam', __( 'Sorry, marking a user as spam is only supported on Multisite.' ) ); 1670 1670 }
Note: See TracChangeset
for help on using the changeset viewer.