Customize: Provide a default way to save cropped images.
Allows plugins and themes to use `WP_Customize_Cropped_Image_Control` without having to define their own way of saving the cropped image. Props celloexpressions for initial patch. Fixes #29211. Built from https://develop.svn.wordpress.org/trunk@33280 git-svn-id: http://core.svn.wordpress.org/trunk@33252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1005,9 +1005,9 @@ class WP_Customize_Background_Image_Control extends WP_Customize_Image_Control {
|
||||
*
|
||||
* @since 4.3.0
|
||||
*
|
||||
* @see WP_Customize_Image_Control
|
||||
* @see WP_Customize_Media_Control
|
||||
*/
|
||||
class WP_Customize_Cropped_Image_Control extends WP_Customize_Image_Control {
|
||||
class WP_Customize_Cropped_Image_Control extends WP_Customize_Media_Control {
|
||||
|
||||
/**
|
||||
* Control type.
|
||||
|
||||
Reference in New Issue
Block a user