Changeset 41484 for branches/4.8/src/wp-includes/wp-db.php
- Timestamp:
- 09/19/2017 04:18:21 PM (8 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
-
branches/4.8/src/wp-includes/wp-db.php
r41471 r41484 1307 1307 1308 1308 foreach ( $args as $arg ) { 1309 if ( ! is_scalar( $arg ) ) {1309 if ( ! is_scalar( $arg ) && ! is_null( $arg ) ) { 1310 1310 _doing_it_wrong( 'wpdb::prepare', sprintf( 'Unsupported value type (%s).', gettype( $arg ) ), '4.8.2' ); 1311 1311 }
Note: See TracChangeset
for help on using the changeset viewer.