Fix warning
git-svn-id: https://develop.svn.wordpress.org/trunk@9877 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
96b3c821fe
commit
b2ea4b8184
|
@ -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