Make WordPress Core


Ignore:
Timestamp:
07/10/2023 11:09:16 PM (2 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].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r55988 r56194  
    471471
    472472    if ( ! $pagename && $id ) {
    473         // If a static page is set as the front page, $pagename will not be set.
    474         // Retrieve it from the queried object.
     473        /*
     474         * If a static page is set as the front page, $pagename will not be set.
     475         * Retrieve it from the queried object.
     476         */
    475477        $post = get_queried_object();
    476478        if ( $post ) {
Note: See TracChangeset for help on using the changeset viewer.