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/taxonomy.php

    r55921 r56194  
    32513251    $duplicate = get_term_by( 'slug', $slug, $taxonomy );
    32523252    if ( $duplicate && $duplicate->term_id !== $term_id ) {
    3253         // If an empty slug was passed or the parent changed, reset the slug to something unique.
    3254         // Otherwise, bail.
     3253        /*
     3254         * If an empty slug was passed or the parent changed, reset the slug to something unique.
     3255         * Otherwise, bail.
     3256         */
    32553257        if ( $empty_slug || ( $parent !== (int) $term['parent'] ) ) {
    32563258            $slug = wp_unique_term_slug( $slug, (object) $args );
Note: See TracChangeset for help on using the changeset viewer.