WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2019 06:03:46 AM (11 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-admin/includes/plugin.php

    r44524 r44562  
    138138        if ( $textdomain ) {
    139139            foreach ( array( 'Name', 'PluginURI', 'Description', 'Author', 'AuthorURI', 'Version' ) as $field ) {
     140                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
    140141                $plugin_data[ $field ] = translate( $plugin_data[ $field ], $textdomain );
    141142            }
Note: See TracChangeset for help on using the changeset viewer.