Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php

    r46586 r47122  
    4444    function empty_tags_data_provider() {
    4545        return array(
    46             /**
    47              * when format => array, we should be getting an empty array back
    48              */
     46            // When 'format' => 'array', we should be getting an empty array back.
    4947            array(
    5048                array(),
    5149                array( 'format' => 'array' ),
    5250            ),
    53             /**
    54              * List format returns an empty string
    55              */
     51            // List format returns an empty string.
    5652            array(
    5753                '',
    5854                array( 'format' => 'list' ),
    5955            ),
    60             /**
    61              * $args can be an array or ''. Either should return an empty string
    62              */
     56            // $args can be an array or ''. Either should return an empty string.
    6357            array(
    6458                '',
     
    303297        $tags = array();
    304298        foreach ( $terms as $term ) {
    305             //add the link
     299            // Add the link.
    306300            $term->link = get_term_link( $term );
    307301            $tags[]     = $term;
Note: See TracChangeset for help on using the changeset viewer.