Changeset 55158
- Timestamp:
- 01/28/2023 08:56:10 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wpdb.php
r55157 r55158 1563 1563 1564 1564 if ( 'f' === $type && true === $this->allow_unsafe_unquoted_parameters 1565 && 0 === substr_compare( $split_query[ $key - 1 ], '%', -1, 1 )1565 && '%' === substr( $split_query[ $key - 1 ], -1, 1 ) 1566 1566 ) { 1567 1567 … … 1624 1624 */ 1625 1625 if ( true !== $this->allow_unsafe_unquoted_parameters 1626 || ( '' === $format && 0 !== substr_compare( $split_query[ $key - 1 ], '%', -1, 1 ) )1626 || ( '' === $format && '%' !== substr( $split_query[ $key - 1 ], -1, 1 ) ) 1627 1627 ) { 1628 1628 $placeholder = "'%" . $format . "s'";
Note: See TracChangeset
for help on using the changeset viewer.