Fix warning

git-svn-id: http://svn.automattic.com/wordpress/trunk@9877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-25 19:18:17 +00:00
parent da7ebeb3a5
commit ed031adb99
1 changed files with 1 additions and 0 deletions

View File

@ -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;