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.



git-svn-id: https://develop.svn.wordpress.org/trunk@33280 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland
2015-07-15 19:53:23 +00:00
parent 87b556a77a
commit 9352eb41fb
3 changed files with 51 additions and 10 deletions
@@ -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.