Make WordPress Core


Ignore:
Timestamp:
11/25/2014 08:56:33 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: docs correction and cleanup.

Props DrewAPicture, see #30149.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/inc/template-tags.php

    r30372 r30569  
    11<?php
    22/**
    3  * Custom template tags for this theme.
     3 * Custom template tags for Twenty Fifteen
    44 *
    55 * Eventually, some of the functionality here could be replaced by core features.
     
    127127
    128128/**
    129  * Returns true if a blog has more than 1 category.
    130  *
    131  * @since Twenty Fifteen 1.0
    132  *
    133  * @return bool
     129 * Determine whether blog/site has more than one category.
     130 *
     131 * @since Twenty Fifteen 1.0
     132 *
     133 * @return bool True of there is more than one category, false otherwise.
    134134 */
    135135function twentyfifteen_categorized_blog() {
     
    160160
    161161/**
    162  * Flush out the transients used in twentyfifteen_categorized_blog.
     162 * Flush out the transients used in {@see twentyfifteen_categorized_blog()}.
    163163 *
    164164 * @since Twenty Fifteen 1.0
     
    211211 *
    212212 * @since Twenty Fifteen 1.0
    213  * @uses get_url_in_content()
     213 *
     214 * @see get_url_in_content()
    214215 *
    215216 * @return string The Link format URL.
     
    224225if ( ! function_exists( 'twentyfifteen_excerpt_more' ) && ! is_admin() ) :
    225226/**
    226  * Replaces "[...]" (appended to automatically generated excerpts) with ... and a Continue reading link.
    227  *
    228  * @since Twenty Fifteen 1.0
    229  *
     227 * Replaces "[...]" (appended to automatically generated excerpts) with ... and a 'Continue reading' link.
     228 *
     229 * @since Twenty Fifteen 1.0
     230 *
     231 * @return string 'Continue reading' link prepended with an ellipsis.
    230232 */
    231233function twentyfifteen_excerpt_more( $more ) {
Note: See TracChangeset for help on using the changeset viewer.