Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:58:33 PM (19 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-posts-controller.php

    r55248 r56193  
    10641064            }
    10651065
    1066             // (Note that internally this falls through to `wp_delete_post()`
    1067             // if the Trash is disabled.)
     1066            /*
     1067             * (Note that internally this falls through to `wp_delete_post()`
     1068             * if the Trash is disabled.)
     1069             */
    10681070            $result   = wp_trash_post( $id );
    10691071            $post     = get_post( $id );
     
    12701272        }
    12711273
    1272         // Sending a null date or date_gmt value resets date and date_gmt to their
    1273         // default values (`0000-00-00 00:00:00`).
     1274        /*
     1275         * Sending a null date or date_gmt value resets date and date_gmt to their
     1276         * default values (`0000-00-00 00:00:00`).
     1277         */
    12741278        if (
    12751279            ( ! empty( $schema['properties']['date_gmt'] ) && $request->has_param( 'date_gmt' ) && null === $request['date_gmt'] ) ||
Note: See TracChangeset for help on using the changeset viewer.