Privacy: Cleanup `.wp-policy-help` CSS remnants and add back-compat when hiding the tutorial content before copying.
Props garrett-eclipse. Fixes #49282. Built from https://develop.svn.wordpress.org/trunk@47112 git-svn-id: http://core.svn.wordpress.org/trunk@46912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c3b5c9dc8
commit
516629964c
|
@ -730,6 +730,7 @@ form#tags-filter {
|
|||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat see #49282 */
|
||||
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
@ -738,6 +739,7 @@ form#tags-filter {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.wp-suggested-text p.wp-policy-help, /* For back-compat see #49282 */
|
||||
.wp-suggested-text p.privacy-policy-tutorial {
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -729,6 +729,7 @@ form#tags-filter {
|
|||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat see #49282 */
|
||||
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
@ -737,6 +738,7 @@ form#tags-filter {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.wp-suggested-text p.wp-policy-help, /* For back-compat see #49282 */
|
||||
.wp-suggested-text p.privacy-policy-tutorial {
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
|
|
|
@ -265,11 +265,6 @@ a[data-wplink-url-error]:before {
|
|||
z-index: -1;
|
||||
}
|
||||
|
||||
/* Special styling for the suggestes policy text tutorial sections after they have been pasted in the editor. */
|
||||
p.wp-policy-help {
|
||||
background-color: #ff0;
|
||||
}
|
||||
|
||||
/**
|
||||
* WP Views
|
||||
*/
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47111';
|
||||
$wp_version = '5.4-alpha-47112';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue