WordPress.org

Make WordPress Core

Ticket #33120: 33120.diff

File 33120.diff, 756 bytes (added by extendwings, 5 years ago)
  • wp-includes/script-loader.php

    diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php
    index 5a6230b..e4a67f7 100644
    a b function wp_default_scripts( &$scripts ) { 
    404404                /* translators: If your word count is based on single characters (East Asian characters),
    405405                   enter 'characters', or 'all' to include spaces. Otherwise, enter 'words'.
    406406                   Do not translate into your own language. */
    407                 'type' => _x( 'words', 'word count: words, characters or all?' ),
     407                'type' => apply_filters( 'word_count_type', _x( 'words', 'word count: words, characters or all?' ) ),
    408408                'shortcodes' => ! empty( $GLOBALS['shortcode_tags'] ) ? array_keys( $GLOBALS['shortcode_tags'] ) : array()
    409409        ) );
    410410