Changeset 51300 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/01/2021 09:11:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r51084 r51300 263 263 * @param int|WP_Comment $comment_ID Optional. WP_Comment or the ID of the comment for which to get the author's IP address. 264 264 * Default current comment. 265 * @return string Comment author's IP address .265 * @return string Comment author's IP address, or an empty string if it's not available. 266 266 */ 267 267 function get_comment_author_IP( $comment_ID = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid … … 274 274 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 275 275 * 276 * @param string $comment_author_IP The comment author's IP address .276 * @param string $comment_author_IP The comment author's IP address, or an empty string if it's not available. 277 277 * @param int $comment_ID The comment ID. 278 278 * @param WP_Comment $comment The comment object.
Note: See TracChangeset
for help on using the changeset viewer.