WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/05/2019 01:44:41 AM (19 months ago)
Author:
pento
Message:

Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r45590 r45599  
    278278     * @param WP_Comment $comment           The comment object.
    279279     */
    280     return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment );
     280    return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
    281281}
    282282
     
    668668     * @param WP_Comment $comment    The comment object.
    669669     */
    670     return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment );
     670    return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
    671671}
    672672
Note: See TracChangeset for help on using the changeset viewer.