mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
notice fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9541 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -517,8 +517,8 @@ case 'replyto-comment' :
|
||||
|
||||
if ( empty($status) )
|
||||
die('1');
|
||||
elseif ( in_array($status->post_status, array('draft', 'pending') ) )
|
||||
die( __('Error: you are replying to comment on a draft post.') );
|
||||
elseif ( in_array($status, array('draft', 'pending') ) )
|
||||
die( __('Error: you are replying to a comment on a draft post.') );
|
||||
|
||||
$user = wp_get_current_user();
|
||||
if ( $user->ID ) {
|
||||
|
||||
Reference in New Issue
Block a user