WordPress.org

Making WordPress.org

Ticket #2628: 2628.2.patch

File 2628.2.patch, 888 bytes (added by SergeyBiryukov, 9 months ago)
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php

     
    159159                 * enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'. 
    160160                 * Do not translate into your own language. 
    161161                 */ 
    162                 if ( strpos( _x( 'words', 'Word count type. Do not translate!' ), 'characters' ) === 0 ) { 
     162                if ( strpos( _x( 'words', 'Word count type. Do not translate!', 'wporg-plugins' ), 'characters' ) === 0 ) { 
    163163                        // Use the default limit of 55 characters for East Asian locales. 
    164164                        $excerpt = wp_trim_words( $excerpt ); 
    165165                } else {