Plugin Directory

Changeset 625808


Ignore:
Timestamp:
11/15/2012 07:34:28 PM (13 years ago)
Author:
AHWEBDEV
Message:

fix 1.5.1

Location:
facebook-awd
Files:
249 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • facebook-awd/trunk/AWD_facebook.php

    r625272 r625808  
    44Plugin URI: http://facebook-awd.ahwebdev.fr
    55Description: Adds extensions from facebook on wordpress easily. Like button, Like Box, Activity box, Fb comments, OpenGraph and more.
    6 Version: 1.5
     6Version: 1.5.1
    77Author: AHWEBDEV
    88Author URI: http://www.ahwebdev.fr
     
    19471947        $sub = array();
    19481948        try {
    1949             $sub = $this->fcbk->api('/'.$this->options['app_id'].'/subscriptions', 'GET', array(
    1950                 "access_token" => $this->fcbk->getApplicationAccessToken()
    1951             ));
     1949            if(is_object($this->fcbk)){
     1950                $sub = $this->fcbk->api('/'.$this->options['app_id'].'/subscriptions', 'GET', array(
     1951                    "access_token" => $this->fcbk->getApplicationAccessToken()
     1952                ));
     1953            }else{
     1954                $error = new WP_Error(500, $this->plugin_name ." Api not configured");
     1955                return $error;
     1956                throw new Exception("Facebook AWD not set");
     1957            }
    19521958            $sub = isset($sub['data']) ? $sub['data'] : array();
    19531959            return $sub;
  • facebook-awd/trunk/readme.md

    r625272 r625808  
    1 Facebook AWD All in one 1.5
     1Facebook AWD All in one 1.5.1
    22==============
    33
  • facebook-awd/trunk/readme.txt

    r625272 r625808  
    66Requires at least: 3.3
    77Tested up to: 3.4.2
    8 Stable tag: 1.5
     8Stable tag: 1.5.1
    99
    1010Facebook AWD is an all in one Facebook capabilities for wordpress.
Note: See TracChangeset for help on using the changeset viewer.