Make WordPress Core

Changeset 43496 for branches/4.9


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

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

Props desrosj, subrataemfluence, ianbelanger, danieltj.
Merges [43495] to the 4.9 branch.
Fixes #44006.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/template.php

    r43461 r43496  
    17761776    }
    17771777
     1778    if ( intval( get_option( 'wp_page_for_privacy_policy' ) ) === $post->ID ) {
     1779        $post_states['page_for_privacy_policy'] = __( 'Privacy Policy Page' );
     1780    }
     1781
    17781782    /**
    17791783     * Filters the default post display states used in the posts list table.
Note: See TracChangeset for help on using the changeset viewer.