Ticket #13317: 13317-negative-values-equal-zero.patch
| File 13317-negative-values-equal-zero.patch, 385 bytes (added by , 16 years ago) |
|---|
-
wp-includes/pluggable.php
106 106 if ( ! is_numeric( $user_id ) ) 107 107 return false; 108 108 109 $user_id = absint($user_id );109 $user_id = max( 0, (int) $user_id ); 110 110 if ( ! $user_id ) 111 111 return false; 112 112