wp/wp-admin/tools.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-admin/tools.php	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/tools.php	Wed Sep 21 18:19:35 2022 +0200
@@ -21,7 +21,7 @@
 // The privacy policy guide used to be outputted from here. Since WP 5.3 it is in wp-admin/privacy-policy-guide.php.
 if ( isset( $_GET['wp-privacy-policy-guide'] ) ) {
 	require_once dirname( __DIR__ ) . '/wp-load.php';
-	wp_redirect( admin_url( 'privacy-policy-guide.php' ), 301 );
+	wp_redirect( admin_url( 'options-privacy.php?tab=policyguide' ), 301 );
 	exit;
 } elseif ( isset( $_GET['page'] ) ) {
 	// These were also moved to files in WP 5.3.