mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4992d8ef3e
commit
67d066669a
@ -207,8 +207,6 @@ if ( $page_links )
|
||||
|
||||
<?php
|
||||
|
||||
$all = !( $h2_search || $post_status_q );
|
||||
|
||||
if ($posts) {
|
||||
?>
|
||||
<table class="widefat page">
|
||||
|
@ -735,6 +735,9 @@ function wp_manage_pages_columns() {
|
||||
$posts_columns['cb'] = '<input type="checkbox" />';
|
||||
$posts_columns['title'] = __('Title');
|
||||
$posts_columns['author'] = __('Author');
|
||||
$post_status = 'all';
|
||||
if ( !empty($_GET['post_status']) )
|
||||
$post_status = $_GET['post_status'];
|
||||
if ( !in_array($post_status, array('pending', 'draft', 'future')) )
|
||||
$posts_columns['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>';
|
||||
$posts_columns['date'] = __('Date');
|
||||
|
Loading…
Reference in New Issue
Block a user