Notice fixes. Props DD32. see #7509

git-svn-id: https://develop.svn.wordpress.org/trunk@9714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-15 17:56:44 +00:00
parent c294b8bf0f
commit 3a7e85c5ec
4 changed files with 12 additions and 7 deletions

View File

@@ -24,7 +24,6 @@ if ( ! defined('ABSPATH') ) die();
<tbody id="the-list" class="list:post">
<?php
if ( have_posts() ) {
$bgcolor = '';
add_filter('the_title','wp_specialchars');
while (have_posts()) : the_post();
$alt = ( 'alternate' == $alt ) ? '' : 'alternate';
@@ -200,7 +199,7 @@ foreach ($posts_columns as $column_name => $column_display_name ) {
endwhile;
} else {
?>
<tr style='background-color: <?php echo $bgcolor; ?>'>
<tr>
<td colspan="8"><?php _e('No posts found.') ?></td>
</tr>
<?php