Make WordPress Core


Ignore:
Timestamp:
07/30/2015 05:08:01 PM (10 years ago)
Author:
ocean90
Message:

Editor: word count: Remove indentation from the translator comment.

Avoids a duplicate comment in the POT file.

see #30966.

File:
1 edited

Legend:

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

    r33469 r33517  
    28522852    $text = wp_strip_all_tags( $text );
    28532853
    2854     /* translators: If your word count is based on single characters (e.g. East Asian characters),
    2855        enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
    2856        Do not translate into your own language. */
     2854    /*
     2855     * translators: If your word count is based on single characters (e.g. East Asian characters),
     2856     * enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
     2857     * Do not translate into your own language.
     2858     */
    28572859    if ( strpos( _x( 'words', 'Word count type. Do not translate!' ), 'characters' ) === 0 && preg_match( '/^utf\-?8$/i', get_option( 'blog_charset' ) ) ) {
    28582860        $text = trim( preg_replace( "/[\n\r\t ]+/", ' ', $text ), ' ' );
Note: See TracChangeset for help on using the changeset viewer.