Changeset 41486 for branches/4.6/src/wp-includes/wp-db.php
- Timestamp:
- 09/19/2017 04:19:49 PM (9 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
-
branches/4.6/src/wp-includes/wp-db.php
r41473 r41486 1306 1306 1307 1307 foreach ( $args as $arg ) { 1308 if ( ! is_scalar( $arg ) ) {1308 if ( ! is_scalar( $arg ) && ! is_null( $arg ) ) { 1309 1309 _doing_it_wrong( 'wpdb::prepare', sprintf( 'Unsupported value type (%s).', gettype( $arg ) ), '4.6.7' ); 1310 1310 }
Note: See TracChangeset
for help on using the changeset viewer.