Make WordPress Core

Ticket #33417: 33417.diff

File 33417.diff, 580 bytes (added by obenland, 6 years ago)
  • src/wp-admin/js/customize-controls.js

     
    21072107                },
    21082108
    21092109                /**
     2110                 * Prevent users from being able to skip cropping. Site Icons must always be cropped.
     2111                 *
     2112                 * @since 4.3.1
     2113                 */
     2114                mustBeCropped: function() {
     2115                        return true;
     2116                },
     2117
     2118                /**
    21102119                 * After an image is selected in the media modal, switch to the cropper
    21112120                 * state if the image isn't the right size.
    21122121                 */