Changeset 3258292
- Timestamp:
- 03/19/2025 08:11:00 AM (13 months ago)
- Location:
- wxsync/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wxsync.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wxsync/trunk/readme.txt
r3256421 r3258292 3 3 Donate link: http://std.cloud 4 4 Tags: 微信公众号,免费,公众号文章采集,数据采集,微信公众号采集 5 Stable tag: 2.8. 15 Stable tag: 2.8.2 6 6 Tested up to: 6.3 7 7 License: GPLv2 or later … … 32 32 33 33 == Changelog == 34 2.8.2 修复自动推送 35 34 36 2.8.1 修复微信无法采集 35 37 -
wxsync/trunk/wxsync.php
r3256421 r3258292 4 4 Plugin URI: http://std.cloud 5 5 Description: 标准云微信公众号文章免费采集、<strong>任意公众号自动采集付费购买</strong> 6 Version: 2.8. 16 Version: 2.8.2 7 7 Author: 标准云(std.cloud) 8 8 Author URI: http://std.cloud … … 24 24 $GLOBALS['wxsync_tab'] = ''; 25 25 $GLOBALS['wxsync_error'] = array(); 26 $GLOBALS['wxsync_ver'] = '2.8. 1';26 $GLOBALS['wxsync_ver'] = '2.8.2'; 27 27 $GLOBALS['wxsync_code'] = 0; 28 28 … … 54 54 // 验证用户是否有权限 55 55 if (isset($_REQUEST['wxsync_tab']) && !current_user_can('edit_posts')) { 56 return; 56 if("autoset" != $_REQUEST['wxsync_tab']){ 57 return; 58 } 59 57 60 } 58 61 … … 156 159 )); 157 160 }else if($req['wxsync_tab'] == 'autoset'){ 158 // 验证Nonce 159 if (!isset($_POST['wxsync_nonce_field']) || !wp_verify_nonce($_POST['wxsync_nonce_field'], 'wxsync_autoset_action')) { 160 // 非法请求 161 wp_die('安全验证失败,请刷新页面重试。'); 162 return; 163 } 164 161 //对比私有token,验证token,自动采集 165 162 if(isset($req['wxsync_settoken'])){ 166 163 if(!is_admin() || !current_user_can('manage_options')){
Note: See TracChangeset
for help on using the changeset viewer.