Plugin Directory

Changeset 400587


Ignore:
Timestamp:
06/23/2011 09:41:02 PM (15 years ago)
Author:
scibuff
Message:
 
Location:
wordpress-connect/branches/2.0.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wordpress-connect/branches/2.0.4/readme.txt

    r394379 r400587  
    66Requires at least: 3.0
    77Tested up to: 3.2
    8 Stable tag: 2.0.3
     8Stable tag: 2.0.4
    99
    1010This plugin integrates the Facebook Social Plugins with Wordpress.
     
    197197   
    198198== ChangeLog ==
     199= 2.0.4 =
    199200= 2.0.3 =
     201* Fixes encoding of non-latin characters in description and title
     202  of the og meta tags
    200203* Fixes the bug with the description meta tag that would print just the
    201204  first letter of the content followed by a space and the ellipsis.
     
    268271 
    269272== Upgrade Notice ==
     273= 2.0.4 =
    270274= 2.0.3 =
    271275* Minor bug fixes (featured image, og:description, etc.)
  • wordpress-connect/branches/2.0.4/src/WordpressConnect.php

    r394379 r400587  
    282282        }
    283283
    284         $description = $this->format_description( $description );
     284        $description = $this->format_description( $post->post_content );
    285285
    286286        // make sure there is a title for the url linter
    287287        if ( empty( $title ) ){ $title = get_home_url(); }
    288288
     289        $title = htmlentities( $title, ENT_QUOTES, "UTF-8" );
    289290?>
    290291        <!-- Wordpress Connect v<?php echo WPC_VERSION; ?> - Open Graph Meta START -->
    291292        <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
    293295        <meta property="fb:admins" content="<?php echo $options[ WPC_OPTIONS_APP_ADMINS ]; ?>" />
    294296        <meta property="fb:app_id" content="<?php echo $options[ WPC_OPTIONS_APP_ID ]; ?>" />
     
    322324            $description = substr( $description, 0, $split_position + 1 ) . ' ...';
    323325        }
    324         return htmlentities( $description, ENT_QUOTES );
     326        return htmlentities( $description, ENT_QUOTES, "UTF-8" );
    325327
    326328    }
  • wordpress-connect/branches/2.0.4/src/WordpressConnectConstants.php

    r393620 r400587  
    1414 * The version of this Wordpress Connect file
    1515 */
    16 define( 'WPC_VERSION', '2.0.3' );
     16define( 'WPC_VERSION', '2.0.4' );
    1717
    1818define( 'WPC_TEXT_DOMAIN', 'wordpress-connect-text-domain' );
  • wordpress-connect/branches/2.0.4/wordpress-connect.php

    r393620 r400587  
    55Plugin URI: http://wp-connect.tomasvorobjov.com
    66Description: Integrates Facebook Social Plugins with Wordpress
    7 Version: 2.0.3
     7Version: 2.0.4
    88Author: Tomas Vorobjov
    99Author URI: htpt://www.tomasvorobjov.com
Note: See TracChangeset for help on using the changeset viewer.