WordPress.org

Make WordPress Core

Changeset 47113


Ignore:
Timestamp:
01/27/2020 01:04:08 AM (10 months ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r47112 r47113  
    730730}
    731731
    732 .hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat see #49282 */
     732.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat, see #49282 */
    733733.hide-privacy-policy-tutorial .privacy-policy-tutorial {
    734734    visibility: hidden;
     
    739739}
    740740
    741 .wp-suggested-text p.wp-policy-help, /* For back-compat see #49282 */
     741.wp-suggested-text p.wp-policy-help, /* For back-compat, see #49282 */
    742742.wp-suggested-text p.privacy-policy-tutorial {
    743743    font-style: normal;
  • trunk/src/wp-admin/includes/plugin.php

    r47112 r47113  
    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.
     2260 * The HTML contents of the `$policy_text` supports use of a specialized `.privacy-policy-tutorial`
     2261 * CSS class which can be used to provide supplemental information. Any content contained within
     2262 * HTML elements that have the `.privacy-policy-tutorial` CSS class applied will be omitted
     2263 * from the clipboard when the section content is copied.
    22642264 *
    22652265 * Intended for use with the `'admin_init'` action.
Note: See TracChangeset for help on using the changeset viewer.