mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Remove remnants of infinite posts features. Props mdawaffe. fixes #6264
git-svn-id: https://develop.svn.wordpress.org/trunk@7359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -19,14 +19,11 @@
|
||||
</thead>
|
||||
<tbody id="the-list" class="list:post">
|
||||
<?php
|
||||
$i_post = 0;
|
||||
if ( have_posts() ) {
|
||||
$bgcolor = '';
|
||||
add_filter('the_title','wp_specialchars');
|
||||
while (have_posts()) : the_post(); $i_post++;
|
||||
if ( 16 == $i_post )
|
||||
echo "\t</tbody>\n\t<tbody id='the-extra-list' class='list:post' style='display: none'>\n"; // Hack!
|
||||
$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