mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-12 08:34:35 +00:00
Privacy: Cleanup .wp-policy-help CSS remnants and add back-compat when hiding the tutorial content before copying.
Props garrett-eclipse. Fixes #49282. git-svn-id: https://develop.svn.wordpress.org/trunk@47112 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2257,6 +2257,11 @@ function plugin_sandbox_scrape( $plugin ) {
|
||||
* For more information see the Plugin Handbook:
|
||||
* https://developer.wordpress.org/plugins/privacy/suggesting-text-for-the-site-privacy-policy/.
|
||||
*
|
||||
* The HTML contents of the `$policy_text` supports use of a specialized `privacy-policy-tutorial` css class
|
||||
* which can be used to provide supplemental information. Any content contained within html elements
|
||||
* that have the `privacy-policy-tutorial` css class applied will be omitted from the clipboard
|
||||
* when the section content is copied.
|
||||
*
|
||||
* Intended for use with the `'admin_init'` action.
|
||||
*
|
||||
* @since 4.9.6
|
||||
|
||||
Reference in New Issue
Block a user