Changeset 400587
- Timestamp:
- 06/23/2011 09:41:02 PM (15 years ago)
- Location:
- wordpress-connect/branches/2.0.4
- Files:
-
- 4 edited
-
readme.txt (modified) (3 diffs)
-
src/WordpressConnect.php (modified) (2 diffs)
-
src/WordpressConnectConstants.php (modified) (1 diff)
-
wordpress-connect.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-connect/branches/2.0.4/readme.txt
r394379 r400587 6 6 Requires at least: 3.0 7 7 Tested up to: 3.2 8 Stable tag: 2.0. 38 Stable tag: 2.0.4 9 9 10 10 This plugin integrates the Facebook Social Plugins with Wordpress. … … 197 197 198 198 == ChangeLog == 199 = 2.0.4 = 199 200 = 2.0.3 = 201 * Fixes encoding of non-latin characters in description and title 202 of the og meta tags 200 203 * Fixes the bug with the description meta tag that would print just the 201 204 first letter of the content followed by a space and the ellipsis. … … 268 271 269 272 == Upgrade Notice == 273 = 2.0.4 = 270 274 = 2.0.3 = 271 275 * Minor bug fixes (featured image, og:description, etc.) -
wordpress-connect/branches/2.0.4/src/WordpressConnect.php
r394379 r400587 282 282 } 283 283 284 $description = $this->format_description( $ description);284 $description = $this->format_description( $post->post_content ); 285 285 286 286 // make sure there is a title for the url linter 287 287 if ( empty( $title ) ){ $title = get_home_url(); } 288 288 289 $title = htmlentities( $title, ENT_QUOTES, "UTF-8" ); 289 290 ?> 290 291 <!-- Wordpress Connect v<?php echo WPC_VERSION; ?> - Open Graph Meta START --> 291 292 <meta property="og:site_name" content="<?php bloginfo( 'name' ); ?>" /> 292 <meta property="og:image" content="<?php echo $image_url; ?>" /> 293 <?php if ( !empty( $image_url ) ) : ?><meta property="og:image" content="<?php echo $image_url; ?>" /><?php endif; ?> 294 293 295 <meta property="fb:admins" content="<?php echo $options[ WPC_OPTIONS_APP_ADMINS ]; ?>" /> 294 296 <meta property="fb:app_id" content="<?php echo $options[ WPC_OPTIONS_APP_ID ]; ?>" /> … … 322 324 $description = substr( $description, 0, $split_position + 1 ) . ' ...'; 323 325 } 324 return htmlentities( $description, ENT_QUOTES );326 return htmlentities( $description, ENT_QUOTES, "UTF-8" ); 325 327 326 328 } -
wordpress-connect/branches/2.0.4/src/WordpressConnectConstants.php
r393620 r400587 14 14 * The version of this Wordpress Connect file 15 15 */ 16 define( 'WPC_VERSION', '2.0. 3' );16 define( 'WPC_VERSION', '2.0.4' ); 17 17 18 18 define( 'WPC_TEXT_DOMAIN', 'wordpress-connect-text-domain' ); -
wordpress-connect/branches/2.0.4/wordpress-connect.php
r393620 r400587 5 5 Plugin URI: http://wp-connect.tomasvorobjov.com 6 6 Description: Integrates Facebook Social Plugins with Wordpress 7 Version: 2.0. 37 Version: 2.0.4 8 8 Author: Tomas Vorobjov 9 9 Author URI: htpt://www.tomasvorobjov.com
Note: See TracChangeset
for help on using the changeset viewer.