Changes from trunk/wp-includes/capabilities.php at r19325 to branches/3.3/wp-includes/capabilities.php at r19668
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/wp-includes/capabilities.php
-
Property
svn:mergeinfo
set to
/branches/3.1/wp-includes/capabilities.php merged eligible /trunk/wp-includes/capabilities.php merged eligible
r19325 r19668 488 488 global $wpdb; 489 489 490 if ( 'id' == $field ) 490 if ( 'id' == $field ) { 491 // Make sure the value is numeric to avoid casting objects, for example, 492 // to int 1. 493 if ( ! is_numeric( $value ) ) 494 return false; 491 495 $value = absint( $value ); 492 else496 } else { 493 497 $value = trim( $value ); 498 } 494 499 495 500 if ( !$value ) -
Property
svn:mergeinfo
set to
Note: See TracChangeset
for help on using the changeset viewer.