WordPress.org

Making WordPress.org

Changeset 5212


Ignore:
Timestamp:
03/30/2017 07:47:32 PM (16 months ago)
Author:
obenland
Message:

Plugin Directory: Use textdomain in i18n function

Props SergeyBiryukov.
Closes #2628.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php

    r5203 r5212  
    184184         * Do not translate into your own language.
    185185         */
    186         if ( strpos( _x( 'words', 'Word count type. Do not translate!' ), 'characters' ) === 0 ) {
     186        if ( strpos( _x( 'words', 'Word count type. Do not translate!', 'wporg-plugins' ), 'characters' ) === 0 ) {
    187187            // Use the default limit of 55 characters for East Asian locales.
    188188            $excerpt = wp_trim_words( $excerpt );
Note: See TracChangeset for help on using the changeset viewer.