Docs: Remove extra trailing spaces from wp_add_privacy_policy_content() DocBlock to fix WPCS issues, apply minor formatting changes for consistency.

Follow-up to [47112].

See #49282.

git-svn-id: https://develop.svn.wordpress.org/trunk@47113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-01-27 01:04:08 +00:00
parent 9224e14e67
commit 191f798201
2 changed files with 6 additions and 6 deletions

View File

@ -729,7 +729,7 @@ form#tags-filter {
margin-top: 6px;
}
.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat see #49282 */
.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat, see #49282 */
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
visibility: hidden;
}
@ -738,7 +738,7 @@ form#tags-filter {
font-style: italic;
}
.wp-suggested-text p.wp-policy-help, /* For back-compat see #49282 */
.wp-suggested-text p.wp-policy-help, /* For back-compat, see #49282 */
.wp-suggested-text p.privacy-policy-tutorial {
font-style: normal;
}

View File

@ -2257,10 +2257,10 @@ 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.
* 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.
*