From 191f798201a8011bf53f84f2359c17029e226d9d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 27 Jan 2020 01:04:08 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/edit.css | 4 ++-- src/wp-admin/includes/plugin.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index a2cadf3900..bfe6dc7c1d 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -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; } diff --git a/src/wp-admin/includes/plugin.php b/src/wp-admin/includes/plugin.php index da2afa9e6e..76d2dcb480 100644 --- a/src/wp-admin/includes/plugin.php +++ b/src/wp-admin/includes/plugin.php @@ -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. *