Fix typo in [45451] and move the redirect to the proper location.

See #43895.
Built from https://develop.svn.wordpress.org/trunk@45452


git-svn-id: http://core.svn.wordpress.org/trunk@45263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2019-05-26 23:21:51 +00:00
parent cbcccbd5b6
commit 2f7f0ad901
2 changed files with 7 additions and 7 deletions

View File

@ -9,18 +9,18 @@
/** WordPress Administration Bootstrap */ /** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' ); require_once( dirname( __FILE__ ) . '/admin.php' );
// This file was used to also display the Privacy tab on the About screen from 4.9.6 until 5.3.0.
if ( isset( $_GET['privacy-notice'] ) ) {
wp_redirect( admin_url( 'privacy.php' ), 301 );
exit;
}
$title = __( 'Freedoms' ); $title = __( 'Freedoms' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' ); include( ABSPATH . 'wp-admin/admin-header.php' );
// This file was used to also display the Privacy tab on the About screen from 4.9.6 until 5.3.0.
if ( isset( $_GET['privacy-notice'] ) ) {
wp_redirect( admi_url( 'privacy.php' ), 301 );
exit;
}
?> ?>
<div class="wrap about-wrap full-width-layout"> <div class="wrap about-wrap full-width-layout">

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-45451'; $wp_version = '5.3-alpha-45452';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.