Files
Testing/tbb/wp-content/plugins/wp-rss-excerpts-thumbnails/includes/libraries/WPThumb/wpthumb.image-editor.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

32 lines
634 B
PHP

<?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 );
}
}