From cb084eefd8a2e496131d538d66a12ec4a926497a Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 14 May 2018 08:29:22 +0000 Subject: [PATCH] Privacy: define `$title` and `$parent_file` in privacy.php. Fixes showing the proper document title. Props ocean90. Fixes #44064. Built from https://develop.svn.wordpress.org/trunk@43250 git-svn-id: http://core.svn.wordpress.org/trunk@43079 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/privacy.php | 5 ++++- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/privacy.php b/wp-admin/privacy.php index e8d024a21f..5a40c06c00 100644 --- a/wp-admin/privacy.php +++ b/wp-admin/privacy.php @@ -98,11 +98,14 @@ if ( ! empty( $privacy_policy_page_id ) ) { } } +$title = __( 'Privacy Settings' ); +$parent_file = 'options-general.php'; + require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+

diff --git a/wp-includes/version.php b/wp-includes/version.php index 9d1e610823..a56161aee5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43249'; +$wp_version = '5.0-alpha-43250'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.