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

    r18291 r25625  
    11<?php
    22/**
    3  * The template for displaying Category Archive pages.
     3 * Template for displaying Category Archive pages
    44 *
    55 * @package WordPress
     
    2222                    <?php
    2323                        $category_description = category_description();
    24                         if ( ! empty( $category_description ) )
     24                        if ( ! empty( $category_description ) ) {
     25                            /**
     26                             * Filter the default Twenty Eleven category description.
     27                             *
     28                             * @since Twenty Eleven 1.0
     29                             *
     30                             * @param string The default category description HTML.
     31                             */
    2532                            echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_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
    3746                         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
Note: See TracChangeset for help on using the changeset viewer.