Indent code within an inside Twenty Eleven's ephemera widget. props lloydbudd, fixes #18751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae3a4343e9
commit
869e0ace47
|
@ -75,12 +75,10 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
|
||||||
$ephemera = new WP_Query( $ephemera_args );
|
$ephemera = new WP_Query( $ephemera_args );
|
||||||
|
|
||||||
if ( $ephemera->have_posts() ) :
|
if ( $ephemera->have_posts() ) :
|
||||||
|
|
||||||
echo $before_widget;
|
echo $before_widget;
|
||||||
echo $before_title;
|
echo $before_title;
|
||||||
echo $title; // Can set this with a widget option, or omit altogether
|
echo $title; // Can set this with a widget option, or omit altogether
|
||||||
echo $after_title;
|
echo $after_title;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<ol>
|
<ol>
|
||||||
<?php while ( $ephemera->have_posts() ) : $ephemera->the_post(); ?>
|
<?php while ( $ephemera->have_posts() ) : $ephemera->the_post(); ?>
|
||||||
|
|
Loading…
Reference in New Issue