Make WordPress Core


Ignore:
Timestamp:
07/01/2019 08:00:12 AM (7 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/post-template.php

    r45491 r45580  
    1414 * @since 0.71
    1515 */
    16 function the_ID() {
     16function the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    1717        echo get_the_ID();
    1818}
     
    2525 * @return int|false The ID of the current item in the WordPress Loop. False if $post is not set.
    2626 */
    27 function get_the_ID() {
     27function get_the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
    2828        $post = get_post();
    2929        return ! empty( $post ) ? $post->ID : false;
Note: See TracChangeset for help on using the changeset viewer.