Plugin Directory

Changeset 1467486


Ignore:
Timestamp:
08/04/2016 08:30:56 AM (10 years ago)
Author:
O-Zone
Message:

released 0.7.1

Location:
wp-allaround
Files:
3 deleted
2 edited
13 copied

Legend:

Unmodified
Added
Removed
  • wp-allaround/tags/0.7.1/README.txt

    r1466742 r1467486  
    55Requires at least: 4.0.0
    66Tested up to: 4.6.0
    7 Stable tag: 0.7.0
     7Stable tag: 0.7.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636== Changelog ==
    3737
     38= 0.7.1 =
     39* Added a quick fix to detect network problems
     40
    3841= 0.7.0 =
    3942* A lot of bug fixes: now plugin works as expected
  • wp-allaround/tags/0.7.1/wp-allaround.php

    r1466742 r1467486  
    44Plugin URI:     http://www.allaroundsiena.com/plugin
    55Description:    This plugin let you to connect a Telegram Bot with your blog
    6 Version:    0.7.0
     6Version:    0.7.1
    77Author:     Michele Pinassi
    88Author URI: http://www.zerozone.it
     
    252252
    253253    if(isset($post_result['error'])) {
     254        // ERROR !
    254255        $post_result_code = $result->code;
    255256        $post_result_message = $post_result['error']['message'];
    256257        $post_is_published = false;
    257     } else {
     258    } else if(isset($post_result['success'])) {
     259        // DONE !
    258260        $post_result_code = $result->code;
    259261        $post_result_message = $post_result['success'];
    260262        $post_is_published = true;
     263    } else {
     264        // Something wrong with network ?
     265        $post_is_published = false;
    261266    }
    262267
  • wp-allaround/trunk/README.txt

    r1466742 r1467486  
    55Requires at least: 4.0.0
    66Tested up to: 4.6.0
    7 Stable tag: 0.7.0
     7Stable tag: 0.7.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636== Changelog ==
    3737
     38= 0.7.1 =
     39* Added a quick fix to detect network problems
     40
    3841= 0.7.0 =
    3942* A lot of bug fixes: now plugin works as expected
  • wp-allaround/trunk/wp-allaround.php

    r1466742 r1467486  
    44Plugin URI:     http://www.allaroundsiena.com/plugin
    55Description:    This plugin let you to connect a Telegram Bot with your blog
    6 Version:    0.7.0
     6Version:    0.7.1
    77Author:     Michele Pinassi
    88Author URI: http://www.zerozone.it
     
    252252
    253253    if(isset($post_result['error'])) {
     254        // ERROR !
    254255        $post_result_code = $result->code;
    255256        $post_result_message = $post_result['error']['message'];
    256257        $post_is_published = false;
    257     } else {
     258    } else if(isset($post_result['success'])) {
     259        // DONE !
    258260        $post_result_code = $result->code;
    259261        $post_result_message = $post_result['success'];
    260262        $post_is_published = true;
     263    } else {
     264        // Something wrong with network ?
     265        $post_is_published = false;
    261266    }
    262267
Note: See TracChangeset for help on using the changeset viewer.