Changeset 11978 for trunk/wp-includes/formatting.php
- Timestamp:
- 09/27/2009 05:33:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r11935 r11978 1111 1111 } 1112 1112 1113 return $wpdb->escape($gpc);1113 return esc_sql($gpc); 1114 1114 } 1115 1115 … … 1281 1281 $text = stripslashes($text); 1282 1282 $text = preg_replace_callback('|<a (.+?)>|i', 'wp_rel_nofollow_callback', $text); 1283 $text = $wpdb->escape($text);1283 $text = esc_sql($text); 1284 1284 return $text; 1285 1285 }
Note: See TracChangeset
for help on using the changeset viewer.