Changeset 41335 for trunk/src/wp-admin/install.php
- Timestamp:
- 09/04/2017 07:29:50 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r41289 r41335 282 282 $language = ''; 283 283 if ( ! empty( $_REQUEST['language'] ) ) { 284 $language = preg_replace( '/[^a-zA-Z _]/', '', $_REQUEST['language'] );284 $language = preg_replace( '/[^a-zA-Z0-9_]/', '', $_REQUEST['language'] ); 285 285 } elseif ( isset( $GLOBALS['wp_local_package'] ) ) { 286 286 $language = $GLOBALS['wp_local_package'];
Note: See TracChangeset
for help on using the changeset viewer.