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:
Konstantin Obenland
2015-07-15 19:54:25 +00:00
parent 4cb73cf347
commit 2883bbbb68
4 changed files with 52 additions and 11 deletions

View File

@@ -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.