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:
@@ -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' );
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user