Changeset 4928
- Timestamp:
- 02/18/2017 09:26:45 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-locale.php
r4512 r4928 575 575 $search_sql = ''; 576 576 if ( $search ) { 577 $esc_search = '%%' . like_escape( $search ) . '%%';577 $esc_search = '%%' . $wpdb->esc_like( $search ) . '%%'; 578 578 $search_sql = $wpdb->prepare( 'AND ( tp.name LIKE %s OR tp.slug LIKE %s )', $esc_search, $esc_search ); 579 579 }
Note: See TracChangeset
for help on using the changeset viewer.