mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Don't use deprecated start_wp(). Props westi. fixes #3188
git-svn-id: https://develop.svn.wordpress.org/trunk@4465 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -157,7 +157,7 @@ $posts_columns['control_delete'] = '';
|
||||
<?php
|
||||
if ($posts) {
|
||||
$bgcolor = '';
|
||||
foreach ($posts as $post) { start_wp();
|
||||
while (have_posts()) : the_post();
|
||||
add_filter('the_title','wp_specialchars');
|
||||
$class = ('alternate' == $class) ? '' : 'alternate';
|
||||
?>
|
||||
@@ -235,7 +235,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
endwhile;
|
||||
} else {
|
||||
?>
|
||||
<tr style='background-color: <?php echo $bgcolor; ?>'>
|
||||
|
||||
Reference in New Issue
Block a user