Make WordPress Core


Ignore:
Timestamp:
05/24/2013 09:24:08 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: PHPDoc cleanup/completion, props DrewAPicture. Fixes #24413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/functions.php

    r24342 r24351  
    180180 *
    181181 * @param string $mce_css CSS path to load in TinyMCE.
    182  * @return string
     182 * @return string The filtered CSS paths list.
    183183 */
    184184function twentythirteen_mce_css( $mce_css ) {
     
    238238 * @param string $title Default title text for current view.
    239239 * @param string $sep Optional separator.
    240  * @return string Filtered title.
     240 * @return string The filtered title.
    241241 */
    242242function twentythirteen_wp_title( $title, $sep ) {
     
    405405 *
    406406 * @param boolean $echo Whether to echo the date. Default true.
    407  * @return string
     407 * @return string The HTML-formatted post date.
    408408 */
    409409function twentythirteen_entry_date( $echo = true ) {
     
    427427 * Returns the URL from the post.
    428428 *
    429  * @uses get_the_link() to get the URL in the post meta (if it exists) or
     429 * @uses get_the_post_format_url() to get the URL in the post meta (if it exists) or
    430430 * the first link found in the post content.
    431431 *
     
    433433 *
    434434 * @since Twenty Thirteen 1.0
    435  * @return string URL
     435 *
     436 * @return string The Link format URL.
    436437 */
    437438function twentythirteen_get_link_url() {
     
    447448 *
    448449 * @param array $atts Combined and filtered attribute list.
    449  * @return array
     450 * @return array The filtered attribute list.
    450451 */
    451452function twentythirteen_gallery_atts( $atts ) {
     
    458459
    459460/**
    460  * Extends the default WordPress body class to denote:
     461 * Extends the default WordPress body classes.
     462 *
     463 * Adds body classes to denote:
    461464 * 1. Custom fonts enabled.
    462465 * 2. Single or multiple authors.
     
    466469 * @since Twenty Thirteen 1.0
    467470 *
    468  * @param array $classes Existing class values.
    469  * @return array Filtered class values.
     471 * @param array $classes A list of existing body class values.
     472 * @return array The filtered body class list.
    470473 */
    471474function twentythirteen_body_class( $classes ) {
     
    508511 * @since Twenty Thirteen 1.0
    509512 *
    510  * @param array $atts Attribute list.
    511  * @return array Filtered attribute list.
     513 * @param array $atts The attribute list.
     514 * @return array The filtered attribute list.
    512515 */
    513516function twentythirteen_video_width( $atts ) {
Note: See TracChangeset for help on using the changeset viewer.