Plugin Directory

Changeset 2639386


Ignore:
Timestamp:
12/04/2021 05:43:17 AM (4 years ago)
Author:
cnfang
Message:

2.7.13

Location:
wxsync/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wxsync/trunk/readme.txt

    r2634134 r2639386  
    1 === WxSync-标准云微信公众号文章免费采集-任意公众号自动采集5元/月-历史文章导出30元/公众号 ===
    2 Contributors: cnfang,_ver_1-0-0_Always_Bee
     1=== WxSync-标准云微信公众号文章免费采集-任意公众号自动采集5元/月-历史文章导出30元/公众号 ===
     2Contributors: cnfang
    33Donate link: http://std.cloud
    44Tags: 微信公众号,免费,公众号文章采集,数据采集,微信公众号采集
    55Requires at least: 3.3
    66Tested up to: 5.2.2
    7 Stable tag:2.7.12
     7Stable tag:2.7.13
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1414
    1515微信公众号文章,任意公众号自动采集5元/月,手动采集服务永久免费,付费地址是:http://std.cloud,插件设置面板将自动提示最新版本,会自动请求第三方服务器地址:http://std.cloud/web/ver
    16 本插件1.0.0版部分代码思路参考了BeePress(GPLv2)插件,之后的版本应AlwaysBee的要求,已移除代码。
    1716
    1817== Installation ==
  • wxsync/trunk/wxsync.php

    r2634134 r2639386  
    44Plugin URI: http://std.cloud
    55Description: 标准云微信公众号文章免费采集、<strong>任意公众号自动采集5元/月</strong>、<strong>历史文章导出30元/公众号</strong>
    6 Version: 2.7.12
     6Version: 2.7.13
    77Author: 标准云(std.cloud)
    88Author URI: http://std.cloud
    99License: GPL
    10 本插件1.0.0版部分代码思路参考了BeePress(GPLv2)插件,之后的版本应AlwaysBee的要求,已移除代码。
     10
    1111*/
    1212if ( ! defined( 'ABSPATH' ) ) exit;
     
    2424$GLOBALS['wxsync_tab'] = '';
    2525$GLOBALS['wxsync_error'] = array();
    26 $GLOBALS['wxsync_ver'] = '2.7.12';
     26$GLOBALS['wxsync_ver'] = '2.7.13';
    2727$GLOBALS['wxsync_code'] = 0;
    2828
     
    125125            }
    126126            global $wpdb,$table_prefix;
     127             $find = $wpdb->get_var("SHOW TABLES LIKE '{$table_prefix}wxsync_config'");
     128            if (empty($find)) {
     129                $sql = "CREATE TABLE `{$table_prefix}wxsync_config` (
     130                      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
     131                      `token` varchar(255) NOT NULL,
     132                      `enable` int(11) NOT NULL DEFAULT '1',
     133                      PRIMARY KEY (`id`)
     134                    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;";
     135                echo "<h3>当前配置表不存在,请在数据库中执行以下语句创建配置表:</h3><br /> $sql";
     136                exit;
     137            }
    127138
    128139            $req['wxsync_settoken'] = esc_sql($req['wxsync_settoken']);
Note: See TracChangeset for help on using the changeset viewer.