wip
This commit is contained in:
@@ -66,7 +66,6 @@ abstract class WP_Image_Editor {
|
||||
* Loads image from $this->file into editor.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @return true|WP_Error True if loaded; WP_Error on failure.
|
||||
*/
|
||||
@@ -77,7 +76,6 @@ abstract class WP_Image_Editor {
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @since 6.0.0 The `$filesize` value was added to the returned array.
|
||||
* @abstract
|
||||
*
|
||||
* @param string $destfilename Optional. Destination filename. Default null.
|
||||
* @param string $mime_type Optional. The mime-type. Default null.
|
||||
@@ -102,7 +100,6 @@ abstract class WP_Image_Editor {
|
||||
* maintain aspect ratio according to the provided dimension.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @param int|null $max_w Image width.
|
||||
* @param int|null $max_h Image height.
|
||||
@@ -122,7 +119,6 @@ abstract class WP_Image_Editor {
|
||||
* Resize multiple images from a single source.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @param array $sizes {
|
||||
* An array of image size arrays. Default sizes are 'small', 'medium', 'large'.
|
||||
@@ -141,7 +137,6 @@ abstract class WP_Image_Editor {
|
||||
* Crops Image.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @param int $src_x The start x position to crop from.
|
||||
* @param int $src_y The start y position to crop from.
|
||||
@@ -158,7 +153,6 @@ abstract class WP_Image_Editor {
|
||||
* Rotates current image counter-clockwise by $angle.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @param float $angle
|
||||
* @return true|WP_Error
|
||||
@@ -169,7 +163,6 @@ abstract class WP_Image_Editor {
|
||||
* Flips current image.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @param bool $horz Flip along Horizontal Axis
|
||||
* @param bool $vert Flip along Vertical Axis
|
||||
@@ -181,7 +174,6 @@ abstract class WP_Image_Editor {
|
||||
* Streams current image to browser.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @abstract
|
||||
*
|
||||
* @param string $mime_type The mime type of the image.
|
||||
* @return true|WP_Error True on success, WP_Error object on failure.
|
||||
|
||||
Reference in New Issue
Block a user