mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Remove unused 'secret' option. Fixes #12221
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -421,9 +421,6 @@ function upgrade_all() {
|
||||
if ( $wp_current_db_version < 7499 )
|
||||
upgrade_250();
|
||||
|
||||
if ( $wp_current_db_version < 7796 )
|
||||
upgrade_251();
|
||||
|
||||
if ( $wp_current_db_version < 7935 )
|
||||
upgrade_252();
|
||||
|
||||
@@ -1011,18 +1008,6 @@ function upgrade_250() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute changes made in WordPress 2.5.1.
|
||||
*
|
||||
* @since 2.5.1
|
||||
*/
|
||||
function upgrade_251() {
|
||||
global $wp_current_db_version;
|
||||
|
||||
// Make the secret longer
|
||||
update_option('secret', wp_generate_password(64));
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute changes made in WordPress 2.5.2.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user