Ticket #17231: theme.diff
File theme.diff, 1.4 KB (added by , 13 years ago) |
---|
-
wp-includes/theme.php
79 79 */ 80 80 function get_stylesheet_uri() { 81 81 $stylesheet_dir_uri = get_stylesheet_directory_uri(); 82 $stylesheet_uri = $stylesheet_dir_uri . "/style.css";82 $stylesheet_uri = $stylesheet_dir_uri . '/style.css'; 83 83 return apply_filters('stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri); 84 84 } 85 85 … … 827 827 828 828 $templates[] = "category-{$category->slug}.php"; 829 829 $templates[] = "category-{$category->term_id}.php"; 830 $templates[] = "category.php";830 $templates[] = 'category.php'; 831 831 832 832 return get_query_template( 'category', $templates ); 833 833 } … … 851 851 852 852 $templates[] = "tag-{$tag->slug}.php"; 853 853 $templates[] = "tag-{$tag->term_id}.php"; 854 $templates[] = "tag.php";854 $templates[] = 'tag.php'; 855 855 856 856 return get_query_template( 'tag', $templates ); 857 857 } … … 881 881 882 882 $templates[] = "taxonomy-$taxonomy-{$term->slug}.php"; 883 883 $templates[] = "taxonomy-$taxonomy.php"; 884 $templates[] = "taxonomy.php";884 $templates[] = 'taxonomy.php'; 885 885 886 886 return get_query_template( 'taxonomy', $templates ); 887 887 } … … 963 963 $templates[] = "page-$pagename.php"; 964 964 if ( $id ) 965 965 $templates[] = "page-$id.php"; 966 $templates[] = "page.php";966 $templates[] = 'page.php'; 967 967 968 968 return get_query_template( 'page', $templates ); 969 969 }