Changeset 394379
- Timestamp:
- 06/07/2011 09:26:37 PM (15 years ago)
- Location:
- wordpress-connect/branches/2.0.3
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
src/WordpressConnect.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-connect/branches/2.0.3/readme.txt
r393620 r394379 200 200 * Fixes the bug with the description meta tag that would print just the 201 201 first letter of the content followed by a space and the ellipsis. 202 * Fixes a rare bug `Division by zero ... on line 220` for posts/pages with 203 featured images 202 204 = 2.0.2 = 203 205 * Fixes the bug that like button display settings are not saved correctly … … 267 269 == Upgrade Notice == 268 270 = 2.0.3 = 271 * Minor bug fixes (featured image, og:description, etc.) 269 272 = 2.0.2 = 270 273 * Options bug fix -
wordpress-connect/branches/2.0.3/src/WordpressConnect.php
r391013 r394379 218 218 $image_width = $image[1]; 219 219 $image_height = $image[2]; 220 $aspect_ratio = floatval( $image_width ) / floatval( $image_height ); 221 222 if ( $image_width >= 50 && $image_height >= 50 && $aspect_ratio <= 3.0 ){ 223 $image_url = $image[0]; 220 // TODO check this 221 // http://wordpress.org/support/topic/error-message-on-only-one-page?replies=4#post-2154264 222 if ( floatval( $image_height ) > 0 ){ 223 $aspect_ratio = floatval( $image_width ) / floatval( $image_height ); 224 225 if ( $image_width >= 50 && $image_height >= 50 && $aspect_ratio <= 3.0 ){ 226 $image_url = $image[0]; 227 } 224 228 } 225 229 }
Note: See TracChangeset
for help on using the changeset viewer.