WordPress.org

Make WordPress Core

Ticket #42075: patch.diff

File patch.diff, 648 bytes (added by Toro_Unit, 4 years ago)
  • src/wp-admin/js/customize-controls.js

     
    39883988         * A control for selecting and cropping an image.
    39893989         *
    39903990         * @class
     3991         * @augments wp.customize.UploadControl
    39913992         * @augments wp.customize.MediaControl
    39923993         * @augments wp.customize.Control
    39933994         * @augments wp.customize.Class
    39943995         */
    3995         api.CroppedImageControl = api.MediaControl.extend({
     3996        api.CroppedImageControl = api.UploadControl.extend({
    39963997
    39973998                /**
    39983999                 * Open the media modal to the library state.