mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Descriptive improvements and corrections for various docblocks.
See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@51300 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -262,7 +262,7 @@ function comment_author_link( $comment_ID = 0 ) {
|
||||
*
|
||||
* @param int|WP_Comment $comment_ID Optional. WP_Comment or the ID of the comment for which to get the author's IP address.
|
||||
* Default current comment.
|
||||
* @return string Comment author's IP address.
|
||||
* @return string Comment author's IP address, or an empty string if it's not available.
|
||||
*/
|
||||
function get_comment_author_IP( $comment_ID = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
||||
$comment = get_comment( $comment_ID );
|
||||
@@ -273,7 +273,7 @@ function get_comment_author_IP( $comment_ID = 0 ) { // phpcs:ignore WordPress.Na
|
||||
* @since 1.5.0
|
||||
* @since 4.1.0 The `$comment_ID` and `$comment` parameters were added.
|
||||
*
|
||||
* @param string $comment_author_IP The comment author's IP address.
|
||||
* @param string $comment_author_IP The comment author's IP address, or an empty string if it's not available.
|
||||
* @param int $comment_ID The comment ID.
|
||||
* @param WP_Comment $comment The comment object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user