diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index c3dfaa3277..eae34a3409 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -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; -} - ?>