Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 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/src/wp-includes/category-template.php

    r47103 r47122  
    707707                        )
    708708                )
    709         ); // Always query top tags
     709        ); // Always query top tags.
    710710
    711711        if ( empty( $tags ) || is_wp_error( $tags ) ) {
     
    728728        }
    729729
    730         $return = wp_generate_tag_cloud( $tags, $args ); // Here's where those top tags get sorted according to $args
     730        // Here's where those top tags get sorted according to $args.
     731        $return = wp_generate_tag_cloud( $tags, $args );
    731732
    732733        /**
     
    890891
    891892        $counts      = array();
    892         $real_counts = array(); // For the alt tag
     893        $real_counts = array(); // For the alt tag.
    893894        foreach ( (array) $tags as $key => $tag ) {
    894895                $real_counts[ $key ] = $tag->count;
     
    10541055
    10551056//
    1056 // Helper functions
     1057// Helper functions.
    10571058//
    10581059
     
    11041105
    11051106//
    1106 // Tags
     1107// Tags.
    11071108//
    11081109
Note: See TracChangeset for help on using the changeset viewer.