WordPress.org

Plugin Directory

Changeset 632813


Ignore:
Timestamp:
12/02/12 01:13:43 (17 months ago)
Author:
niallkennedy
Message:

version bump 1.1.8. post global

Location:
facebook/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • facebook/trunk/facebook.php

    r632788 r632813  
    22/** 
    33 * @package Facebook 
    4  * @version 1.1.7 
     4 * @version 1.1.8 
    55 */ 
    66/* 
     
    1010Author: Facebook 
    1111Author URI: https://developers.facebook.com/wordpress/ 
    12 Version: 1.1.7 
     12Version: 1.1.8 
    1313License: GPL2 
    1414License URI: license.txt 
     
    2929     * @var string 
    3030     */ 
    31     const VERSION = '1.1.7'; 
     31    const VERSION = '1.1.8'; 
    3232 
    3333    /** 
  • facebook/trunk/readme.txt

    r632788 r632813  
    66License: GPLv2 
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    8 Stable tag: 1.1.7 
     8Stable tag: 1.1.8 
    99 
    1010Make your WordPress site social in a couple of clicks, powered by Facebook. 
  • facebook/trunk/social-plugins/class-facebook-comments.php

    r632788 r632813  
    101101     */ 
    102102    public static function comments_number_filter( $output, $number = null ) { 
    103         $_post = get_post(); 
    104         if ( $_post && self::comments_enabled_for_post_type( $_post ) ) 
     103        global $post; 
     104 
     105        if ( isset( $post ) && self::comments_enabled_for_post_type( $post ) ) 
    105106            return self::comments_count_xfbml(); 
    106107        return $output; 
Note: See TracChangeset for help on using the changeset viewer.