Make WordPress Core


Ignore:
Timestamp:
07/01/2019 08:00:12 AM (5 years ago)
Author:
pento
Message:

Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations.

See #47632

File:
1 edited

Legend:

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

    r45505 r45580  
    263263 * @return string Comment author's IP address.
    264264 */
    265 function get_comment_author_IP( $comment_ID = 0 ) {
     265function get_comment_author_IP( $comment_ID = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    266266    $comment = get_comment( $comment_ID );
    267267
     
    288288 *                                   Default current comment.
    289289 */
    290 function comment_author_IP( $comment_ID = 0 ) {
     290function comment_author_IP( $comment_ID = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    291291    echo esc_html( get_comment_author_IP( $comment_ID ) );
    292292}
     
    652652 * @return int The comment ID.
    653653 */
    654 function get_comment_ID() {
     654function get_comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    655655    $comment = get_comment();
    656656
     
    672672 * @since 0.71
    673673 */
    674 function comment_ID() {
     674function comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    675675    echo get_comment_ID();
    676676}
Note: See TracChangeset for help on using the changeset viewer.