diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 76a528cb28..cba51bbdbb 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1621,7 +1621,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c * @param int|WP_Comment $comment Comment being replied to. Default current comment. * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. * Default current post. - * @return void|false|string Link to show comment form, if successful. False, if comments are closed. + * @return string|false|null Link to show comment form, if successful. False, if comments are closed. */ function get_comment_reply_link( $args = array(), $comment = null, $post = null ) { $defaults = array( @@ -1730,7 +1730,6 @@ function get_comment_reply_link( $args = array(), $comment = null, $post = null * @param int $comment Comment being replied to. Default current comment. * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. * Default current post. - * @return mixed Link to show comment form, if successful. False, if comments are closed. */ function comment_reply_link( $args = array(), $comment = null, $post = null ) { echo get_comment_reply_link( $args, $comment, $post ); @@ -1757,7 +1756,7 @@ function comment_reply_link( $args = array(), $comment = null, $post = null ) { * } * @param int|WP_Post $post Optional. Post ID or WP_Post object the comment is going to be displayed on. * Default current post. - * @return false|null|string Link to show comment form, if successful. False, if comments are closed. + * @return string|false|null Link to show comment form, if successful. False, if comments are closed. */ function get_post_reply_link( $args = array(), $post = null ) { $defaults = array( @@ -1821,7 +1820,6 @@ function get_post_reply_link( $args = array(), $post = null ) { * @param array $args Optional. Override default options, * @param int|WP_Post $post Post ID or WP_Post object the comment is going to be displayed on. * Default current post. - * @return string|bool|null Link to show comment form, if successful. False, if comments are closed. */ function post_reply_link( $args = array(), $post = null ) { echo get_post_reply_link( $args, $post ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a940c66895..658491831f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45740'; +$wp_version = '5.3-alpha-45741'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.