Remove remnants of infinite posts features. Props mdawaffe. fixes #6264

git-svn-id: http://svn.automattic.com/wordpress/trunk@7359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-03-17 23:02:12 +00:00
parent da5b4ca357
commit d3fbaa1d66
4 changed files with 6 additions and 13 deletions

View File

@@ -19,12 +19,11 @@
</thead>
<tbody>
<?php
$i_post = 0;
if ( have_posts() ) {
$bgcolor = '';
add_filter('the_title','wp_specialchars');
while (have_posts()) : the_post(); $i_post++;
$class = ( $i_post > 15 || 'alternate' == $class) ? '' : 'alternate';
while (have_posts()) : the_post();
$class = 'alternate' == $class ? '' : 'alternate';
global $current_user;
$post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' );
?>