| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | 3 | Plugin Name: codoc |
| 4 | 4 | Plugin URI: https://plugins.svn.wordpress.org/codoc/ |
| 5 | -Description: 有料記事の販売、サブスクリプション販売、投げ銭の仕組みをすぐに導入できます。 | |
| 5 | +Description: A WordPress plugin for monetizing websites by enabling paid articles, subscriptions(memberships), and tipping. | |
| 6 | 6 | Author: codoc.jp |
| 7 | 7 | Author URI: https://codoc.jp |
| 8 | -Version: 0.9.9 | |
| 8 | +Version: 0.9.59 | |
| 9 | 9 | License: GPLv2 |
| 10 | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | 11 | Text Domain: codoc |
| 12 | 12 | */ |
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | 14 | defined( 'ABSPATH' ) || exit; |
| 15 | 15 | |
| 16 | -const CODOC_PLUGIN_VERSION = '0.9.9'; | |
| 16 | +const CODOC_PLUGIN_VERSION = '0.9.59'; | |
| 17 | 17 | const CODOC_URL = 'https://codoc.jp'; |
| 18 | 18 | const CODOC_USERCODE_OPTION_NAME = 'codoc_usercode'; |
| 19 | 19 | const CODOC_AUTHINFO_OPTION_NAME = 'codoc_authinfo';//認証時データ |
| 20 | 20 | const CODOC_TOKEN_OPTION_NAME = 'codoc_token'; //API用トークン |
| @@ -27,6 +27,6 @@ | ||
| 27 | 27 | exit( sprintf( 'The codoc Paywall plugin requires PHP 5.4 or higher. You’re using %s.', PHP_VERSION ) ); |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | require_once(plugin_dir_path( __FILE__ ) .'class-codoc.php'); |
| 31 | -$codoc = new Codoc; | |
| 32 | - | |
| 31 | +// グローバル変数 | |
| 32 | +$_CODOC = new Codoc; | |