Make WordPress Core


Ignore:
Timestamp:
01/26/2020 11:00:54 PM (6 years ago)
Author:
azaozz
Message:

Privacy: Cleanup .wp-policy-help CSS remnants and add back-compat when hiding the tutorial content before copying.

Props garrett-eclipse.
Fixes #49282.

File:
1 edited

Legend:

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

    r47060 r47112  
    22582258 * https://developer.wordpress.org/plugins/privacy/suggesting-text-for-the-site-privacy-policy/.
    22592259 *
     2260 * The HTML contents of the `$policy_text` supports use of a specialized `privacy-policy-tutorial` css class
     2261 * which can be used to provide supplemental information. Any content contained within html elements
     2262 * that have the `privacy-policy-tutorial` css class applied will be omitted from the clipboard
     2263 * when the section content is copied.
     2264 *
    22602265 * Intended for use with the `'admin_init'` action.
    22612266 *
Note: See TracChangeset for help on using the changeset viewer.