Make WordPress Core


Ignore:
Timestamp:
04/29/2008 07:17:23 PM (17 years ago)
Author:
ryan
Message:

Word count from azaozz. see #4807

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r7813 r7854  
    3737
    3838        // Modify this version when tinyMCE plugins are changed.
    39         $mce_version = apply_filters('tiny_mce_version', '20080414');
     39        $mce_version = apply_filters('tiny_mce_version', '20080423');
    4040        $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('editor_functions'), $mce_version );
    4141
     
    194194                'cancel' => __('Cancel'),
    195195            ));
    196             $this->add( 'editor', '/wp-admin/js/editor.js', array('tiny_mce'), '20080221' );
     196
     197            $this->add( 'word-count', '/wp-admin/js/word-count.js', array( 'jquery' ), '20080423' );
     198            $this->localize( 'word-count', 'wordCountL10n', array(
     199                'count' => __('Word count: %d')
     200            ));
    197201        }
    198202    }
Note: See TracChangeset for help on using the changeset viewer.