Changeset 24876 for branches/3.6
- Timestamp:
- 07/29/2013 06:18:58 PM (11 years ago)
- Location:
- branches/3.6
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.6
-
branches/3.6/wp-admin/includes/ms.php
r24245 r24876 372 372 _deprecated_argument( __FUNCTION__, '3.1' ); 373 373 374 $wpdb->update( $wpdb->users, array( $pref=> $value ), array( 'ID' => $id ) );374 $wpdb->update( $wpdb->users, array( sanitize_key( $pref ) => $value ), array( 'ID' => $id ) ); 375 375 376 376 $user = new WP_User( $id ); -
branches/3.6/wp-includes/bookmark.php
r21829 r24876 187 187 188 188 if ( ! empty($search) ) { 189 $search = like_escape($search);189 $search = esc_sql( like_escape( $search ) ); 190 190 $search = " AND ( (link_url LIKE '%$search%') OR (link_name LIKE '%$search%') OR (link_description LIKE '%$search%') ) "; 191 191 }
Note: See TracChangeset
for help on using the changeset viewer.