Make WordPress Core


Ignore:
Timestamp:
07/20/2015 03:56:19 PM (11 years ago)
Author:
obenland
Message:

Site Icon: Add crop preview to the media modal.

  • Monkey patches imgAreaSelect library to support touch events.
  • Removes Settings version of Site Icon since it would have been the same flow.
  • Removes default value for Customizer setting - there is no default favicon.

Fixes #16434.

File:
1 edited

Legend:

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

    r33321 r33329  
    619619        ) );
    620620
    621         $scripts->add( 'site-icon', '/wp-admin/js/site-icon.js', array( 'jquery' ), false, 1 );
    622         $scripts->add( 'site-icon-crop', '/wp-admin/js/site-icon-crop.js', array( 'jcrop' ), false, 1 );
    623 
    624621        $scripts->add( 'custom-header', "/wp-admin/js/custom-header.js", array( 'jquery-masonry' ), false, 1 );
    625622        $scripts->add( 'custom-background', "/wp-admin/js/custom-background$suffix.js", array( 'wp-color-picker', 'media-views' ), false, 1 );
Note: See TracChangeset for help on using the changeset viewer.