Make WordPress Core


Ignore:
Timestamp:
03/21/2019 07:47:29 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Introduce Privacy Policy page helpers:

  • is_privacy_policy() template tag
  • privacy-policy.php template
  • .privacy-policy body class
  • .menu-item-privacy-policy menu item class

Props garrett-eclipse, birgire, xkon, Clorith.
Fixes #44005.

File:
1 edited

Legend:

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

    r44954 r44966  
    3737    'page.php'              => __( 'Single Page' ),
    3838    'front-page.php'        => __( 'Homepage' ),
     39    'privacy-policy.php'    => __( 'Privacy Policy Page' ),
    3940    // Attachments
    4041    'attachment.php'        => __( 'Attachment Template' ),
Note: See TracChangeset for help on using the changeset viewer.