WordPress.org

Make WordPress Core

Changeset 43252


Ignore:
Timestamp:
05/14/2018 01:53:25 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/privacy.php

    r43239 r43252  
    9999}
    100100
     101$title       = __( 'Privacy Settings' );
     102$parent_file = 'options-general.php';
     103
    101104require_once( ABSPATH . 'wp-admin/admin-header.php' );
    102105
    103106?>
    104107<div class="wrap">
    105     <h1><?php _e( 'Privacy Settings' ); ?></h1>
     108    <h1><?php echo $title; ?></h1>
    106109    <h2><?php _e( 'Privacy Policy page' ); ?></h2>
    107110    <p>
Note: See TracChangeset for help on using the changeset viewer.