- Timestamp:
- 09/19/2017 04:05:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r41470 r41483 1244 1244 1245 1245 foreach ( $args as $arg ) { 1246 if ( ! is_scalar( $arg ) ) {1246 if ( ! is_scalar( $arg ) && ! is_null( $arg ) ) { 1247 1247 _doing_it_wrong( 'wpdb::prepare', sprintf( __( 'Unsupported value type (%s).' ), gettype( $arg ) ), '4.8.2' ); 1248 1248 }
Note: See TracChangeset
for help on using the changeset viewer.