Make WordPress Core


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

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r55988 r56194  
    599599    foreach ( (array) $rewrite as $match => $query ) {
    600600
    601         // If the requesting file is the anchor of the match,
    602         // prepend it to the path info.
     601        /*
     602         * If the requesting file is the anchor of the match,
     603         * prepend it to the path info.
     604         */
    603605        if ( ! empty( $url ) && ( $url != $request ) && str_starts_with( $match, $url ) ) {
    604606            $request_match = $url . '/' . $request;
     
    621623            }
    622624
    623             // Got a match.
    624             // Trim the query of everything up to the '?'.
     625            /*
     626             * Got a match.
     627             * Trim the query of everything up to the '?'.
     628             */
    625629            $query = preg_replace( '!^.+\?!', '', $query );
    626630
Note: See TracChangeset for help on using the changeset viewer.