Make WordPress Core


Ignore:
Timestamp:
09/25/2013 04:49:36 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Eleven: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/tag.php

    r18291 r25625  
    11<?php
    22/**
    3  * The template used to display Tag Archive pages
     3 * Template used to display Tag Archive pages
    44 *
    55 * @package WordPress
     
    2222                    <?php
    2323                        $tag_description = tag_description();
    24                         if ( ! empty( $tag_description ) )
     24                        if ( ! empty( $tag_description ) ) {
     25                            /**
     26                             * Filter the default Twenty Eleven tag description.
     27                             *
     28                             * @since Twenty Eleven 1.0
     29                             *
     30                             * @param string The default tag description.
     31                             */
    2532                            echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
     33                        }
    2634                    ?>
    2735                </header>
     
    3341
    3442                    <?php
    35                         /* Include the Post-Format-specific template for the content.
     43                        /**
     44                         * Include the Post-Format-specific template for the content.
    3645                         * If you want to overload this in a child theme then include a file
    37                          * called content-___.php (where ___ is the Post Format name) and that will be used instead.
     46                         * called content-___.php (where ___ is the Post Format name) and that
     47                         * will be used instead.
    3848                         */
    3949                        get_template_part( 'content', get_post_format() );
Note: See TracChangeset for help on using the changeset viewer.