Changeset 11490
- Timestamp:
- 05/29/2009 08:31:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r11450 r11490 2063 2063 2064 2064 /** 2065 * Escapes data for use in a MySQL query 2066 * 2067 * This is just a handy shortcut for $wpdb->escape(), for completeness' sake 2068 * 2069 * @since 2.8.0 2070 * @param string $sql Unescaped SQL data 2071 * @return string The cleaned $sql 2072 */ 2073 function esc_sql( $sql ) { 2074 global $wpdb; 2075 return $wpdb->escape( $sql ); 2076 } 2077 2078 2079 /** 2065 2080 * Checks and cleans a URL. 2066 2081 *
Note: See TracChangeset
for help on using the changeset viewer.