Make WordPress Core


Ignore:
Timestamp:
09/10/2009 10:07:33 PM (15 years ago)
Author:
azaozz
Message:

Image editing (first run). Includes code by stephanreiter, see #10528

File:
1 edited

Legend:

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

    r11879 r11911  
    213213
    214214    $scripts->add( 'comment-reply', "/wp-includes/js/comment-reply$suffix.js", false, '20090102');
     215
     216    $scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", false, '20090817');
     217
     218    $scripts->add( 'imgareaselect', "/wp-includes/js/imgareaselect/jquery.imgareaselect$suffix.js", array('jquery'), '0.9.1' );
     219    $scripts->add_data( 'imgareaselect', 'group', 1 );
    215220
    216221    if ( is_admin() ) {
     
    400405        $scripts->add( 'codepress', '/wp-includes/js/codepress/codepress.js', false, '0.9.6' );
    401406        $scripts->add_data( 'codepress', 'group', 1 );
     407
     408        $scripts->add( 'image-edit', "/wp-admin/js/image-edit$suffix.js", array('jquery', 'json2', 'imgareaselect'), '20090831' );
     409        $scripts->add_data( 'image-edit', 'group', 1 );
    402410    }
    403411}
     
    465473    $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
    466474    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
     475    $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    467476
    468477    foreach ( $rtl_styles as $rtl_style )
Note: See TracChangeset for help on using the changeset viewer.