Make WordPress Core


Ignore:
Timestamp:
09/30/2023 07:37:34 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove redundant ignore annotations, take 3.

This removes ignore annotations about invalid function names for deprecated functions. Those are ignored by design in WPCS since version 2.2.0.

Follow-up to [45580], [47612], [47927].

Props jrf.
See #59161.

File:
1 edited

Legend:

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

    r56724 r56751  
    40094009 * @deprecated 5.5.0
    40104010 */
    4011 function wp_unregister_GLOBALS() {  // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
     4011function wp_unregister_GLOBALS() {
    40124012    // register_globals was deprecated in PHP 5.3 and removed entirely in PHP 5.4.
    40134013    _deprecated_function( __FUNCTION__, '5.5.0' );
Note: See TracChangeset for help on using the changeset viewer.