Make WordPress Core


Ignore:
Timestamp:
09/25/2013 05:03:34 PM (11 years ago)
Author:
lancewillett
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/archive.php

    r19241 r25627  
    11<?php
    22/**
    3  * The template for displaying Archive pages.
     3 * Template for displaying Archive pages
    44 *
    55 * Used to display archive-type pages if nothing more specific matches a query.
    66 * For example, puts together date-based pages if no date.php file exists.
    77 *
    8  * Learn more: http://codex.wordpress.org/Template_Hierarchy
     8 * @link http://codex.wordpress.org/Template_Hierarchy
    99 *
    1010 * @package WordPress
     
    1919
    2020<?php
    21     /* Queue the first post, that way we know
     21    /**
     22     * Queue the first post, that way we know
    2223     * what date we're dealing with (if that is the case).
    2324     *
     
    4243
    4344<?php
    44     /* Since we called the_post() above, we need to
     45    /**
     46     * Since we called the_post() above, we need to
    4547     * rewind the loop back to the beginning that way
    4648     * we can run the loop properly, in full.
     
    4850    rewind_posts();
    4951
    50     /* Run the loop for the archives page to output the posts.
     52    /**
     53     * Run the loop for the archives page to output the posts.
    5154     * If you want to overload this in a child theme then include a file
    5255     * called loop-archive.php and that will be used instead.
Note: See TracChangeset for help on using the changeset viewer.