Changeset 12946 for trunk/wp-admin/ms-edit.php
- Timestamp:
- 02/04/2010 06:46:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-edit.php
r12945 r12946 24 24 wp_die( __("You probably need to go back to the <a href='ms-options.php'>options page</a>") ); 25 25 26 if ( isset($_POST['WPLANG']) )26 if ( isset($_POST['WPLANG']) && ( '' === $_POST['WPLANG'] || in_array($_POST['WPLANG'], get_available_languages()) ) ) 27 27 update_site_option( "WPLANG", $_POST['WPLANG'] ); 28 28
Note: See TracChangeset
for help on using the changeset viewer.