Changeset 400590
- Timestamp:
- 06/23/2011 09:50:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wordpress-connect/tags/2.0.3/src/WordpressConnect.php
r400586 r400590 218 218 $image_width = $image[1]; 219 219 $image_height = $image[2]; 220 // TODO check this221 // http://wordpress.org/support/topic/error-message-on-only-one-page?replies=4#post-2154264222 220 if ( floatval( $image_height ) > 0 ){ 223 221 $aspect_ratio = floatval( $image_width ) / floatval( $image_height ); … … 322 320 if ( strlen( $description ) > 200 ){ 323 321 $split_position = strpos( $description, '.', 200 ); 322 if ( $split_position === FALSE ){ 323 $split_position = strpos( $description, ' ', 200 ); 324 } 324 325 $description = substr( $description, 0, $split_position + 1 ) . ' ...'; 325 326 }
Note: See TracChangeset
for help on using the changeset viewer.