Plugin Directory

Changeset 735181


Ignore:
Timestamp:
07/02/2013 08:29:36 PM (13 years ago)
Author:
spiffyd
Message:

Commit of Bitly Shortlinks Multisite v1.2

Location:
bitly-shortlinks-multisite/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bitly-shortlinks-multisite/trunk/bitly-shortlinks-multisite.php

    r729512 r735181  
    22/*
    33Plugin Name: Bit.ly Shortlinks Multisite (OAuth 2 Compatible)
    4 Version: 1.1
     4Version: 1.2
    55Plugin URI: http://wordpress.org/extend/plugins/bitly-shortlinks-multisite/
    66Description: This plugin replaces the default WordPress shortlinks with Bit.ly shortlinks for your single site or multisite WordPress network.
     
    3838            $resp = wpbitly_curl( $req );
    3939               
    40             if ( is_array( $resp ) && $resp['status_code'] == 200 && $resp['data']['expand'][0]['long_url'] == $url )
     40            if ( is_array( $resp ) && $resp['status_code'] == 200 && isset($resp['data']['expand']) && $resp['data']['expand'][0]['long_url'] == $url )
     41               
    4142                return false;
    4243            delete_post_meta( $id, '_denis_bitlylink' );
  • bitly-shortlinks-multisite/trunk/readme.txt

    r729655 r735181  
    4646== Changelog ==
    4747
     48= 1.2 =
     49* Fixed bug that occurs when `WP_ DEBUG` is on (Thanks to Luke Childs for the bug find.)
     50
    4851= 1.1 =
    4952* Added `get_bitly()` function.
Note: See TracChangeset for help on using the changeset viewer.