Plugin Directory

Changeset 428069


Ignore:
Timestamp:
08/24/2011 10:48:27 AM (15 years ago)
Author:
sproject
Message:

1.5.1 release

Location:
facebook-likes-you/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • facebook-likes-you/trunk/facebook-likes-you.php

    r427428 r428069  
    44Plugin URI: http://www.sproject.name/download/wp-facebook-likes-you/
    55Description: Facebook Likes You! is simple plugin which makes it easy to add Facebook Like button and widgetable Like box. It's fully configurable, so you can decide where to append the button.
    6 Version: 1.5
     6Version: 1.5.1
    77Author: Piotr Sochalewski
    88Author URI: http://www.sproject.name/
     
    3535$fb_like_colorschemes   = array('light', 'dark');
    3636$fb_like_font           = array('', 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana');
     37
     38$defaultappid = 165570960176857;
    3739
    3840function fb_register_like_settings() {
     
    134136    $fb_like_settings['css_style'] = get_option('fb_like_css_style');
    135137   
    136     $defaultappid = 165570960176857;
    137    
    138138    $locale = defined(WPLANG) ? WPLANG : 'en_US';
    139139
     
    159159
    160160function fb_like_return_appid() {
    161     global $fb_like_settings;
     161    global $fb_like_settings, $defaultappid;
    162162   
    163163    $appid = trim($fb_like_settings['appid']);
     
    262262
    263263function fb_like_open_graph() {
    264     global $fb_like_settings;
     264    global $fb_like_settings, $defaultappid;
    265265   
    266266    if($fb_like_settings['opengraph']=='true') {
     
    277277        <meta property="og:image" content="<?php echo fb_like_catch_image() ?>"/>
    278278        <meta property="og:site_name" content="<?php bloginfo('name') ?>"/>
    279         <?php if (fb_like_return_appid()!=$defaultappid)
     279        <?php if (!empty($fb_like_settings['appid']) && fb_like_return_appid()!=$defaultappid)
    280280        echo '<meta property="fb:app_id" content="' . fb_like_return_appid() . '"/>';
    281281    }
  • facebook-likes-you/trunk/readme.txt

    r427428 r428069  
    55Requires at least: 2.9
    66Tested up to: 3.2.1
    7 Stable tag: 1.5
     7Stable tag: 1.5.1
    88
    99Facebook Likes You! is simple plugin which makes it easy to add Like Button and widgetable Like Box. Google +1 Button isn't a problem too!
     
    4545
    4646== Changelog ==
     47
     48= 1.5.1 =
     49* Fixed critical bug: really important if use Open Graph and have no app ID
    4750
    4851= 1.5 =
Note: See TracChangeset for help on using the changeset viewer.