Make WordPress Core


Ignore:
Timestamp:
03/24/2022 08:05:40 PM (2 years ago)
Author:
davidbaumwald
Message:

External Libraries: Update Jcrop to version 0.9.15.

For a full list of changes, see https://github.com/tapmodo/Jcrop/compare/v0.9.12...v0.9.15.

This change also adds a comment in script-loader.php indicating that this library is no longer used by core.

Follow-up to [10846], [10863], [11015], [21633], [25549].

Props hareesh-pillai, karpstrucking, SergeyBiryukov.
Fixes #54035.

File:
1 edited

Legend:

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

    r52978 r52989  
    866866    );
    867867
    868     $scripts->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.min.js', array( 'jquery' ), '0.9.12' );
     868    // Not used in core, replaced by imgAreaSelect.
     869    $scripts->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.min.js', array( 'jquery' ), '0.9.15' );
    869870
    870871    $scripts->add( 'swfobject', '/wp-includes/js/swfobject.js', array(), '2.2-20120417' );
     
    15001501    $styles->add( 'deprecated-media', "/wp-admin/css/deprecated-media$suffix.css" );
    15011502    $styles->add( 'farbtastic', "/wp-admin/css/farbtastic$suffix.css", array(), '1.3u1' );
    1502     $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.min.css', array(), '0.9.12' );
     1503    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.min.css', array(), '0.9.15' );
    15031504    $styles->add( 'colors-fresh', false, array( 'wp-admin', 'buttons' ) ); // Old handle.
    15041505    $styles->add( 'open-sans', $open_sans_font_url ); // No longer used in core as of 4.6.
Note: See TracChangeset for help on using the changeset viewer.