Fix warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@9877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
da7ebeb3a5
commit
ed031adb99
|
@ -25,6 +25,7 @@ if ( ! defined('ABSPATH') ) die();
|
||||||
<?php
|
<?php
|
||||||
if ( have_posts() ) {
|
if ( have_posts() ) {
|
||||||
add_filter('the_title','wp_specialchars');
|
add_filter('the_title','wp_specialchars');
|
||||||
|
$alt = '';
|
||||||
while (have_posts()) : the_post();
|
while (have_posts()) : the_post();
|
||||||
$alt = ( 'alternate' == $alt ) ? '' : 'alternate';
|
$alt = ( 'alternate' == $alt ) ? '' : 'alternate';
|
||||||
global $current_user;
|
global $current_user;
|
||||||
|
|
Loading…
Reference in New Issue