Ticket #18323: 18323.2.patch
File 18323.2.patch, 459 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/misc.php
325 325 $option = $_POST['wp_screen_options']['option']; 326 326 $value = $_POST['wp_screen_options']['value']; 327 327 328 if ( !preg_match( '/^[a-z_-]+$/',$option ) )328 if ( $option != sanitize_key( $option ) ) 329 329 return; 330 330 331 331 $map_option = $option;