mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -685,9 +685,9 @@ function check_comment_flood_db( $ip, $email, $date ) {
|
||||
do_action('comment_flood_trigger', $time_lastcomment, $time_newcomment);
|
||||
|
||||
if ( defined('DOING_AJAX') )
|
||||
die( __('You are posting comments too quickly. Slow down.') );
|
||||
die( __('You are posting comments too quickly. Slow down.') );
|
||||
|
||||
wp_die( __('You are posting comments too quickly. Slow down.'), '', array('response' => 403) );
|
||||
wp_die( __('You are posting comments too quickly. Slow down.'), '', array('response' => 403) );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -723,7 +723,7 @@ function &separate_comments(&$comments) {
|
||||
* @uses get_option() Used to fill in defaults for parameters.
|
||||
* @uses Walker_Comment
|
||||
*
|
||||
* @param array $comments Optional array of comment objects. Defaults to $wp_query->comments
|
||||
* @param array $comments Optional array of comment objects. Defaults to $wp_query->comments
|
||||
* @param int $per_page Optional comments per page.
|
||||
* @param boolean $threaded Optional control over flat or threaded comments.
|
||||
* @return int Number of comment pages.
|
||||
@@ -1947,7 +1947,7 @@ function update_comment_cache($comments) {
|
||||
//
|
||||
|
||||
/**
|
||||
* Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts.
|
||||
* Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts.
|
||||
*
|
||||
* @access private
|
||||
* @since 2.7.0
|
||||
@@ -1977,7 +1977,7 @@ function _close_comments_for_old_posts( $posts, $query ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Close comments on an old post. Hooked to comments_open and pings_open.
|
||||
* Close comments on an old post. Hooked to comments_open and pings_open.
|
||||
*
|
||||
* @access private
|
||||
* @since 2.7.0
|
||||
|
||||
Reference in New Issue
Block a user