Changeset 28712 for trunk/src/wp-includes/meta.php
- Timestamp:
- 06/10/2014 12:43:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r28665 r28712 1048 1048 $meta_value = array_slice( $meta_value, 0, 2 ); 1049 1049 $meta_compare_string = '%s AND %s'; 1050 } elseif ( 'LIKE' == substr( $meta_compare, -4 )) {1051 $meta_value = '%' . like_escape( $meta_value ) . '%';1050 } elseif ( 'LIKE' == $meta_compare || 'NOT LIKE' == $meta_compare ) { 1051 $meta_value = '%' . $wpdb->esc_like( $meta_value ) . '%'; 1052 1052 $meta_compare_string = '%s'; 1053 1053 } else {
Note: See TracChangeset
for help on using the changeset viewer.