Bug found in Plugincode
-
Hi, within your Plugin you made a small bug, which disallows to set the Crop-Parameter as an array.
In Line 337 you check, if your own crop-information which is per default set to false is not an array and after that you return the the array as (intval).
so you have to change the line from:
if( ! is_array( $sizes[$s][‘crop’] ) ) {
to
if( ! is_array( $_wp_additional_image_sizes[$s][‘crop’] ) ) {After that its correct and working as intended. please update your plugin with this fix. thanks ??
The page I need help with: [log in to see the link]
- The topic ‘Bug found in Plugincode’ is closed to new replies.