Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9489 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5ae2b7fd3e
commit
c108a2cec6
|
@ -207,8 +207,6 @@ if ( $page_links )
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$all = !( $h2_search || $post_status_q );
|
|
||||||
|
|
||||||
if ($posts) {
|
if ($posts) {
|
||||||
?>
|
?>
|
||||||
<table class="widefat page">
|
<table class="widefat page">
|
||||||
|
|
|
@ -735,6 +735,9 @@ function wp_manage_pages_columns() {
|
||||||
$posts_columns['cb'] = '<input type="checkbox" />';
|
$posts_columns['cb'] = '<input type="checkbox" />';
|
||||||
$posts_columns['title'] = __('Title');
|
$posts_columns['title'] = __('Title');
|
||||||
$posts_columns['author'] = __('Author');
|
$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')) )
|
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['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>';
|
||||||
$posts_columns['date'] = __('Date');
|
$posts_columns['date'] = __('Date');
|
||||||
|
|
Loading…
Reference in New Issue