Remove whitespace side effects from comment_form().

Props timersys.
Fixes #30500.

Built from https://develop.svn.wordpress.org/trunk@31036


git-svn-id: http://core.svn.wordpress.org/trunk@31017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-01-03 06:27:24 +00:00
parent 190165cb32
commit f5f3006981
2 changed files with 2 additions and 3 deletions

View File

@ -2228,8 +2228,7 @@ function comment_form( $args = array(), $post_id = null ) {
*/
$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
?>
<?php if ( comments_open( $post_id ) ) : ?>
if ( comments_open( $post_id ) ) : ?>
<?php
/**
* Fires before the comment form.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31035';
$wp_version = '4.2-alpha-31036';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.