Make WordPress Core

Changeset 43495


Ignore:
Timestamp:
07/17/2018 04:45:04 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Mark Privacy Policy page as such in the Pages list table.

Props desrosj, subrataemfluence, ianbelanger, danieltj.
Fixes #44006.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r43460 r43495  
    18991899    }
    19001900
     1901    if ( intval( get_option( 'wp_page_for_privacy_policy' ) ) === $post->ID ) {
     1902        $post_states['page_for_privacy_policy'] = __( 'Privacy Policy Page' );
     1903    }
     1904
    19011905    /**
    19021906     * Filters the default post display states used in the posts list table.
Note: See TracChangeset for help on using the changeset viewer.