Changeset 53272
- Timestamp:
- 04/26/2022 11:39:17 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r53175 r53272 1133 1133 * @global wpdb $wpdb WordPress database abstraction object. 1134 1134 * 1135 * @param string $s tring1135 * @param string $search 1136 1136 * @param array $cols 1137 1137 * @return string 1138 1138 */ 1139 protected function get_search_sql( $s tring, $cols ) {1139 protected function get_search_sql( $search, $cols ) { 1140 1140 global $wpdb; 1141 1141 1142 $like = '%' . $wpdb->esc_like( $s tring) . '%';1142 $like = '%' . $wpdb->esc_like( $search ) . '%'; 1143 1143 1144 1144 $searches = array();
Note: See TracChangeset
for help on using the changeset viewer.