Remove debug comments & more housecleaning. See #17748
git-svn-id: http://svn.automattic.com/wordpress/trunk@18266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7123b0b62a
commit
27ec6b7e00
|
@ -12,7 +12,7 @@
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||||
|
|
||||||
<?php if ( 'post' == get_post_type() ) : /* Bit of a disconnect here, Some files include this test, not all do. */ ?>
|
<?php if ( 'post' == get_post_type() ) : ?>
|
||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
<?php twentyeleven_posted_on(); ?>
|
<?php twentyeleven_posted_on(); ?>
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<?php if ( is_sticky() ) : ?>
|
<?php if ( is_sticky() ) : ?>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) /* Y NO ARRAY! */ ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
||||||
<h2 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h2>
|
<h2 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h2>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<footer class="entry-meta">
|
<footer class="entry-meta">
|
||||||
<?php $show_sep = false; // perhaps a implode(' | ', $utilities) could be used instead of this $show_sep business? ?>
|
<?php $show_sep = false; ?>
|
||||||
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
|
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
|
||||||
<?php
|
<?php
|
||||||
/* translators: used between list items, there is a space after the comma */
|
/* translators: used between list items, there is a space after the comma */
|
||||||
|
|
|
@ -72,8 +72,7 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
$ephemera = new WP_Query();
|
$ephemera = new WP_Query( $ephemera_args );
|
||||||
$ephemera->query( $ephemera_args );
|
|
||||||
|
|
||||||
if ( $ephemera->have_posts() ) :
|
if ( $ephemera->have_posts() ) :
|
||||||
|
|
||||||
|
|
|
@ -178,8 +178,7 @@ get_header(); ?>
|
||||||
'no_found_rows' => true,
|
'no_found_rows' => true,
|
||||||
);
|
);
|
||||||
// Our new query for the Recent Posts section.
|
// Our new query for the Recent Posts section.
|
||||||
$recent = new WP_Query();
|
$recent = new WP_Query( $recent_args );
|
||||||
$recent->query( $recent_args );
|
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
|
|
||||||
while ( $recent->have_posts() ) : $recent->the_post();
|
while ( $recent->have_posts() ) : $recent->the_post();
|
||||||
|
|
Loading…
Reference in New Issue