Make WordPress Core


Ignore:
Timestamp:
01/21/2015 08:48:45 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: fix escaping and minor code style issues. See #29127.

File:
1 edited

Legend:

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

    r30795 r31260  
    147147            'subset' => urlencode( 'latin,latin-ext' ),
    148148        );
    149         $fonts_url = add_query_arg( $query_args, "//fonts.googleapis.com/css" );
     149        $fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
    150150    }
    151151
     
    320320function twentythirteen_entry_meta() {
    321321    if ( is_sticky() && is_home() && ! is_paged() )
    322         echo '<span class="featured-post">' . __( 'Sticky', 'twentythirteen' ) . '</span>';
     322        echo '<span class="featured-post">' . esc_html__( 'Sticky', 'twentythirteen' ) . '</span>';
    323323
    324324    if ( ! has_post_format( 'link' ) && 'post' == get_post_type() )
     
    414414        'post_mime_type' => 'image',
    415415        'order'          => 'ASC',
    416         'orderby'        => 'menu_order ID'
     416        'orderby'        => 'menu_order ID',
    417417    ) );
    418418
Note: See TracChangeset for help on using the changeset viewer.