Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:58:33 PM (18 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], [56192].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r54891 r56193  
    17621762        $posts_controller = $post_type->get_rest_controller();
    17631763
    1764         // Ensure the posts controller is specifically a WP_REST_Posts_Controller instance
    1765         // before using methods specific to that controller.
     1764        /*
     1765         * Ensure the posts controller is specifically a WP_REST_Posts_Controller instance
     1766         * before using methods specific to that controller.
     1767         */
    17661768        if ( ! $posts_controller instanceof WP_REST_Posts_Controller ) {
    17671769            $posts_controller = new WP_REST_Posts_Controller( $post->post_type );
Note: See TracChangeset for help on using the changeset viewer.