Changeset 2699 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 07/05/2005 08:47:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r2689 r2699 524 524 525 525 function addslashes_gpc($gpc) { 526 if (!get_magic_quotes_gpc()) { 527 $gpc = addslashes($gpc); 528 } 529 return $gpc; 526 global $wpdb; 527 528 if (get_magic_quotes_gpc()) { 529 $gpc = stripslashes($gpc); 530 } 531 532 return $wpdb->escape($gpc); 530 533 } 531 534
Note: See TracChangeset
for help on using the changeset viewer.