diff --git a/wp-admin/comment.php b/wp-admin/comment.php index e1058695a3..b834f7b594 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -48,7 +48,8 @@ if ( isset( $_REQUEST['c'] ) ) { ); } } else { - $comment = null; + $comment_id = 0; + $comment = null; } switch ( $action ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 96e411406e..7af0939918 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-beta3-61858'; +$wp_version = '7.0-beta3-61859'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.