Improve various @param docs for src/wp-includes/*.
See #30224. Built from https://develop.svn.wordpress.org/trunk@30681 git-svn-id: http://core.svn.wordpress.org/trunk@30671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -707,7 +707,7 @@ function get_comments_link( $post_id = 0 ) {
|
||||
* @since 0.71
|
||||
*
|
||||
* @param string $deprecated Not Used.
|
||||
* @param bool $deprecated_2 Not Used.
|
||||
* @param string $deprecated_2 Not Used.
|
||||
*/
|
||||
function comments_link( $deprecated = '', $deprecated_2 = '' ) {
|
||||
if ( !empty( $deprecated ) )
|
||||
@@ -1353,7 +1353,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
|
||||
* @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.
|
||||
* @return null|false|string Link to show comment form, if successful. False, if comments are closed.
|
||||
*/
|
||||
function get_comment_reply_link( $args = array(), $comment = null, $post = null ) {
|
||||
|
||||
@@ -1466,7 +1466,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 string|bool|null Link to show comment form, if successful. False, if comments are closed.
|
||||
* @return false|null|string Link to show comment form, if successful. False, if comments are closed.
|
||||
*/
|
||||
function get_post_reply_link($args = array(), $post = null) {
|
||||
$defaults = array(
|
||||
|
||||
Reference in New Issue
Block a user