Changeset 41505 for branches/4.0/src/wp-includes/wp-db.php
- Timestamp:
- 09/19/2017 06:41:11 PM (8 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-includes/wp-db.php
r41492 r41505 1224 1224 $query = preg_replace( '|(?<!%)%f|' , '%F', $query ); // Force floats to be locale unaware 1225 1225 $query = preg_replace( '|(?<!%)%s|', "'%s'", $query ); // quote the strings, avoiding escaped strings like %%s 1226 $query = preg_replace( '/%(?:%|$|([^dsF]))/', '%%\\1', $query ); // escape any unescaped percents 1226 1227 array_walk( $args, array( $this, 'escape_by_ref' ) ); 1227 1228 return @vsprintf( $query, $args );
Note: See TracChangeset
for help on using the changeset viewer.