Changeset 44611
- Timestamp:
- 01/16/2019 04:26:48 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r44386 r44611 1895 1895 } 1896 1896 1897 // Accepts only 'user', 'admin' , 'both' or default '' as $notify 1898 if ( ! in_array( $notify, array( 'user', 'admin', 'both', '' ), true ) ) { 1899 return; 1900 } 1901 1897 1902 global $wpdb, $wp_hasher; 1898 1903 $user = get_userdata( $user_id ); -
trunk/tests/phpunit/tests/user.php
r44573 r44611 1170 1170 true, 1171 1171 ), 1172 array( 1173 'THIS IS NOT A SUPPORTED NOTIFICATION TYPE', 1174 false, 1175 false, 1176 ), 1172 1177 ); 1173 1178 }
Note: See TracChangeset
for help on using the changeset viewer.