Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:46:22 PM (11 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.

Follow-up to [56174], [56175], [56176], [56177], [56178], [56179], [56180], [56191].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-site.php

    r55747 r56192  
    115115        }
    116116
    117         // Rebuild the data expected by the `wpmu_new_blog` hook prior to 5.1.0 using allowed keys.
    118         // The `$allowed_data_fields` matches the one used in `wpmu_create_blog()`.
     117        /*
     118         * Rebuild the data expected by the `wpmu_new_blog` hook prior to 5.1.0 using allowed keys.
     119         * The `$allowed_data_fields` matches the one used in `wpmu_create_blog()`.
     120         */
    119121        $allowed_data_fields = array( 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' );
    120122        $meta                = array_merge( array_intersect_key( $data, array_flip( $allowed_data_fields ) ), $meta );
Note: See TracChangeset for help on using the changeset viewer.