Changeset 12853 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 01/26/2010 08:25:34 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r12852 r12853 1888 1888 } 1889 1889 1890 function login_spam_check( $user, $password ) {1891 if ( is_user_spammy( $user->ID ) )1892 return new WP_Error('invalid_username', __('<strong>ERROR</strong>: your account has been marked as a spammer.'));1893 return $user;1894 }1895 add_action( 'wp_authenticate_user', 'login_spam_check', 10, 2 );1896 1897 1890 function update_blog_public( $old_value, $value ) { 1898 1891 global $wpdb;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)