Plugin Directory

Changeset 3213095


Ignore:
Timestamp:
12/26/2024 04:23:45 AM (15 months ago)
Author:
CodeBard
Message:

1.9.4

  • Removed API v1 class and added connection log warning so that the site admins can reconnect their site to move to v2.
Location:
patreon-connect/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • patreon-connect/trunk/classes/patreon_api.php

    r2369625 r3213095  
    4949}
    5050else {
     51   
     52
     53               
     54    Patreon_Wordpress::log_connection_error( 'Either your site has an old connection version or it lost its connection info. Please reconnect your site at WP admin -> Patreon Settings -> (re)Connect' );
    5155   
    5256    class Patreon_API {
     
    142146        }
    143147
    144         public function __get_json( $suffix, $v2 = false ) {       
     148        public function __get_json( $suffix, $v2 = false ) {
     149
     150            // v1 is deprecated. Return false
     151            $result = array( 'error' => 'Either your site has an old connection version or it lost its connection info. Please reconnect your site at WP admin -> Patreon Settings -> (re)Connect' );
     152
     153            return $result;
    145154
    146155            $api_endpoint = "https://api.patreon.com/oauth2/api/" . $suffix;
  • patreon-connect/trunk/patreon.php

    r3203883 r3213095  
    55Plugin URI: https://www.patreon.com/apps/wordpress
    66Description: Patron-only content, directly on your website.
    7 Version: 1.9.3
     7Version: 1.9.4
    88Author: Patreon <platform@patreon.com>
    99Author URI: https://patreon.com
     
    6969define( "PATREON_NO_LOCKING_LEVEL_SET_FOR_THIS_POST", 'Post is already public. If you would like to lock this post, please set a pledge level for it' );
    7070define( "PATREON_NO_POST_ID_TO_UNLOCK_POST", 'Sorry - could not get the post id for this locked post' );
    71 define( "PATREON_WORDPRESS_VERSION", '1.9.3' );
     71define( "PATREON_WORDPRESS_VERSION", '1.9.4' );
    7272define( "PATREON_WORDPRESS_BETA_STRING", '' );
    7373define( "PATREON_WORDPRESS_PLUGIN_SLUG", plugin_basename( __FILE__ ) );
  • patreon-connect/trunk/readme.txt

    r3203877 r3213095  
    55Requires PHP: 7.4
    66Tested up to: 6.7.1
    7 Stable tag: 1.9.3
     7Stable tag: 1.9.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7979
    8080== Upgrade Notice ==
     81
     82= 1.9.4 =
     83
     84* Removed API v1 class and added connection log warning so that the site admins can reconnect their site to move to v2.
    8185
    8286= 1.9.3 =
     
    521525
    522526== Changelog ==
     527
     528= 1.9.4 =
     529
     530* Removed API v1 class and added connection log warning so that the site admins can reconnect their site to move to v2.
    523531
    524532= 1.9.3 =
Note: See TracChangeset for help on using the changeset viewer.