Make WordPress Core


Ignore:
Timestamp:
03/02/2008 08:17:30 PM (19 years ago)
Author:
ryan
Message:

Remove trailing whites.

File:
1 edited

Legend:

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

    r7103 r7130  
    3333                $visual_editor = apply_filters('visual_editor', array('tiny_mce'));
    3434                $this->add( 'editor', false, $visual_editor, '20080218' );
    35                
     35
    3636                $this->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080221' );
    37                
     37
    3838                // Modify this version when tinyMCE plugins are changed.
    3939                $mce_version = apply_filters('tiny_mce_version', '20080226');
    4040                $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('editor_functions'), $mce_version );
    41                
     41
    4242                $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
    4343
    … …  
    480480}
    481481
    482 // These localizations require information that may not be loaded even by init 
    483 function wp_just_in_time_script_localization() { 
    484         wp_localize_script( 'tiny_mce', 'wpTinyMCEConfig', array( 'defaultEditor' => wp_default_editor() ) ); 
    485 }
    486 
    487 add_filter( 'wp_print_scripts', 'wp_just_in_time_script_localization' ); 
     482// These localizations require information that may not be loaded even by init
     483function wp_just_in_time_script_localization() {
     484        wp_localize_script( 'tiny_mce', 'wpTinyMCEConfig', array( 'defaultEditor' => wp_default_editor() ) );
     485}
     486
     487add_filter( 'wp_print_scripts', 'wp_just_in_time_script_localization' );
    488488add_filter( 'print_scripts_array', 'wp_prototype_before_jquery' );
    489489
Note: See TracChangeset for help on using the changeset viewer.