Skip to content

Commit 8495d43

Browse files
committed
remove wpsize
1 parent a462899 commit 8495d43

File tree

1 file changed

+0
-3
lines changed
  • cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php

1 file changed

+0
-3
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/class-media.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,6 @@ public function get_transformations_from_string( $str, $type = 'image' ) {
605605
$transformation_chains = explode( '/', $str );
606606
$transformations = array();
607607
foreach ( $transformation_chains as $index => $chain ) {
608-
if ( false !== strpos( $chain, 'wpsize' ) ) {
609-
continue; // A wpsize is not a transformation.
610-
}
611608
$items = explode( ',', $chain );
612609
foreach ( $items as $item ) {
613610
$item = trim( $item );

0 commit comments

Comments
 (0)