Make WordPress Core


Ignore:
Timestamp:
07/10/2023 11:17:05 PM (3 years 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], [56192], [56193], [56194].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    r55988 r56195  
    684684            $request_params = array_keys( $request->get_params() );
    685685            sort( $request_params );
    686             // If only 'id' and 'roles' are specified (we are only trying to
    687             // edit roles), then only the 'promote_user' cap is required.
     686            /*
     687             * If only 'id' and 'roles' are specified (we are only trying to
     688             * edit roles), then only the 'promote_user' cap is required.
     689             */
    688690            if ( array( 'id', 'roles' ) === $request_params ) {
    689691                return true;
Note: See TracChangeset for help on using the changeset viewer.