Make WordPress Core


Ignore:
Timestamp:
02/20/2010 12:50:29 AM (15 years ago)
Author:
dd32
Message:

Remove unused references to global $wpdb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r13197 r13240  
    12091209 */
    12101210function addslashes_gpc($gpc) {
    1211     global $wpdb;
    1212 
    1213     if (get_magic_quotes_gpc()) {
     1211    if ( get_magic_quotes_gpc() )
    12141212        $gpc = stripslashes($gpc);
    1215     }
    12161213
    12171214    return esc_sql($gpc);
Note: See TracChangeset for help on using the changeset viewer.