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

See #43895.

git-svn-id: https://develop.svn.wordpress.org/trunk@45452 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2019-05-26 23:20:56 +00:00
parent 2fb86e26e6
commit d670b91335

View File

@ -9,18 +9,18 @@
/** WordPress Administration Bootstrap */
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' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
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">