Make WordPress Core

Ticket #17231: theme.diff

File theme.diff, 1.4 KB (added by niallkennedy, 13 years ago)

static strings

  • wp-includes/theme.php

     
    7979 */
    8080function get_stylesheet_uri() {
    8181        $stylesheet_dir_uri = get_stylesheet_directory_uri();
    82         $stylesheet_uri = $stylesheet_dir_uri . "/style.css";
     82        $stylesheet_uri = $stylesheet_dir_uri . '/style.css';
    8383        return apply_filters('stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri);
    8484}
    8585
     
    827827
    828828        $templates[] = "category-{$category->slug}.php";
    829829        $templates[] = "category-{$category->term_id}.php";
    830         $templates[] = "category.php";
     830        $templates[] = 'category.php';
    831831
    832832        return get_query_template( 'category', $templates );
    833833}
     
    851851
    852852        $templates[] = "tag-{$tag->slug}.php";
    853853        $templates[] = "tag-{$tag->term_id}.php";
    854         $templates[] = "tag.php";
     854        $templates[] = 'tag.php';
    855855
    856856        return get_query_template( 'tag', $templates );
    857857}
     
    881881
    882882        $templates[] = "taxonomy-$taxonomy-{$term->slug}.php";
    883883        $templates[] = "taxonomy-$taxonomy.php";
    884         $templates[] = "taxonomy.php";
     884        $templates[] = 'taxonomy.php';
    885885
    886886        return get_query_template( 'taxonomy', $templates );
    887887}
     
    963963                $templates[] = "page-$pagename.php";
    964964        if ( $id )
    965965                $templates[] = "page-$id.php";
    966         $templates[] = "page.php";
     966        $templates[] = 'page.php';
    967967
    968968        return get_query_template( 'page', $templates );
    969969}