Plugin Directory

Changeset 641183


Ignore:
Timestamp:
12/18/2012 05:53:51 PM (13 years ago)
Author:
sebstein
Message:
  • don't remove API keys in case we can't connect to G+ during normal import operation
  • prepare release 1.1.2
Location:
g-crossposting/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • g-crossposting/trunk/admin.php

    r491862 r641183  
    190190        if (g_crossposting_api_activities_list($new_input['gplusid'], $new_input['apikey'], 1) == null) {
    191191            // at least one of both must be wrong
    192             // $new_input['gplusid'] = '';
    193             // $new_input['apikey'] = '';
     192            $new_input['gplusid'] = '';
     193            $new_input['apikey'] = '';
    194194        }
    195195    }
  • g-crossposting/trunk/gplus-crosspost.php

    r491862 r641183  
    44    Plugin URI: http://wordpress.org/extend/plugins/g-crossposting/
    55    Description: Imports your public Google+ activities in your Wordpress blog.
    6     Version: 1.1.1
     6    Version: 1.1.2
    77    Author: Sebastian Stein
    88    Author URI: http://sebstein.hpfsc.de/
     
    177177    // now do an actual connect to see if we are able to connect
    178178    if (g_crossposting_api_activities_list($options['gplusid'], $options['apikey'], 1) == null) {
    179         // in the end we can't say which of both settings is wrong
    180         // so we reset both
    181         $options['gplusid'] = '';
    182         $options['apikey'] = '';
    183         update_option('g_crossposting_options', $options);
     179        // either settings are wrong or gplus is offline
    184180
    185181        return FALSE;
  • g-crossposting/trunk/readme.txt

    r491862 r641183  
    44Tags: google, googleplus, posts
    55Requires at least: 3.0.0
    6 Tested up to: 3.3.0
    7 Stable tag: 1.1.1
     6Tested up to: 3.5.0
     7Stable tag: 1.1.2
    88
    99Imports your public Google+ activities in your Wordpress blog.
     
    8888== Changelog ==
    8989
     90= 1.1.2 =
     91
     92* API key and G+ ID were still removed in some obscure cases if the connect to G+ failed. Now, we try again later.
     93
    9094= 1.1.1 =
    9195* API key and G+ ID don't get removed anymore in case plugin is unable to connect to the G+ API; it seems that this now happens more often even if all settings are correct; a future version will need a better error reporting mechanism, but unfortunately Wordpress doesn't provide a convenient API for reporting configuration errors to the users and so the plugin will need to come up with an own mechanism
Note: See TracChangeset for help on using the changeset viewer.