Ticket #4690: 4690.diff
File 4690.diff, 563 bytes (added by , 17 years ago) |
---|
-
wp-includes/functions.php
179 179 180 180 function get_option($setting) { 181 181 global $wpdb; 182 183 $setting = $wpdb->escape($setting); 182 184 183 185 // Allow plugins to short-circuit options. 184 186 $pre = apply_filters( 'pre_option_' . $setting, false ); … … 364 366 365 367 function delete_option($name) { 366 368 global $wpdb; 369 370 $name = $wpdb->escape($name); 367 371 368 372 wp_protect_special_option($name); 369 373