Changeset 41507 for branches/3.8/src/wp-includes/wp-db.php
- Timestamp:
- 09/19/2017 06:43:47 PM (9 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/src/wp-includes/wp-db.php
r41494 r41507 1057 1057 $query = preg_replace( '|(?<!%)%f|' , '%F', $query ); // Force floats to be locale unaware 1058 1058 $query = preg_replace( '|(?<!%)%s|', "'%s'", $query ); // quote the strings, avoiding escaped strings like %%s 1059 $query = preg_replace( '/%(?:%|$|([^dsF]))/', '%%\\1', $query ); // escape any unescaped percents 1059 1060 array_walk( $args, array( $this, 'escape_by_ref' ) ); 1060 1061 return @vsprintf( $query, $args );
Note: See TracChangeset
for help on using the changeset viewer.