Make WordPress Core


Ignore:
Timestamp:
07/09/2023 07:50:52 PM (16 months ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php

    r55703 r56174  
    104104        sort( $new );
    105105
    106         // The == operator (equal, not identical) was used intentionally.
    107         // See https://www.php.net/manual/en/language.operators.array.php
     106        /*
     107         * The == operator (equal, not identical) was used intentionally.
     108         * See https://www.php.net/manual/en/language.operators.array.php
     109         */
    108110        if ( $new != $old ) {
    109             // A plugin was activated or deactivated, or some policy text has changed.
    110             // Show a notice on the relevant screens to inform the admin.
     111            /*
     112             * A plugin was activated or deactivated, or some policy text has changed.
     113             * Show a notice on the relevant screens to inform the admin.
     114             */
    111115            add_action( 'admin_notices', array( 'WP_Privacy_Policy_Content', 'policy_text_changed_notice' ) );
    112116            $state = 'changed';
Note: See TracChangeset for help on using the changeset viewer.