Files

32 lines
634 B
PHP
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
<?php
class WP_Thumb_Image_Editor_GD extends WP_Image_Editor_GD {
public function get_image() {
return $this->image;
}
public function update_image( $image ) {
$this->image = $image;
}
public function update_size( $width = null, $height = null ) {
return parent::update_size( $width, $height );
}
}
class WP_Thumb_Image_Editor_Imagick extends WP_Image_Editor_Imagick {
public function get_image() {
return $this->image;
}
public function update_image( $image ) {
$this->image = $image;
}
public function update_size( $width = null, $height = null ) {
return parent::update_size( $width, $height );
}
}