Changeset 31188 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 01/16/2015 01:05:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r31168 r31188 2006 2006 */ 2007 2007 function is_user_spammy( $user = null ) { 2008 if ( ! is_a( $user, 'WP_User') ) {2009 if ( $user ) 2008 if ( ! ( $user instanceof WP_User ) ) { 2009 if ( $user ) { 2010 2010 $user = get_user_by( 'login', $user ); 2011 else2011 } else { 2012 2012 $user = wp_get_current_user(); 2013 } 2013 2014 } 2014 2015
Note: See TracChangeset
for help on using the changeset viewer.