From 4d5c5e90dd349bce03f0d5d6674f37814a89ced2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 14 May 2018 13:54:24 +0000 Subject: [PATCH] Privacy: define `$title` and `$parent_file` in privacy.php. Fixes showing the proper document title. Props ocean90. Merges [43250] to the 4.9 branch. Fixes #44064. Built from https://develop.svn.wordpress.org/branches/4.9@43252 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43081 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 6b70ae3c13..751eb24a2f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.6-RC1-43241'; +$wp_version = '4.9.6-RC1-43252'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.