WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2019 06:03:46 AM (6 months ago)
Author:
pento
Message:

Coding Standards: Fix the minor WordPress.WP.I18n violations.

WordPress.WP.I18n.MissingTranslatorsComment is in progress in #44360.

See #45934.

File:
1 edited

Legend:

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

    r44524 r44562  
    875875                    return $this->name_translated;
    876876                }
     877                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
    877878                $this->name_translated = translate( $value, $this->get( 'TextDomain' ) );
    878879                return $this->name_translated;
     
    926927
    927928            default:
     929                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
    928930                $value = translate( $value, $this->get( 'TextDomain' ) );
    929931        }
Note: See TracChangeset for help on using the changeset viewer.