Make WordPress Core

Changeset 56751


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.

Location:
trunk/src
Files:
2 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' );
  • trunk/src/xmlrpc.php

    r55918 r56751  
    9898 * @param string $msg Information describing logging reason.
    9999 */
    100 function logIO( $io, $msg ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
     100function logIO( $io, $msg ) {
    101101    _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
    102102    if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.