Plugin Directory

Changeset 2714161


Ignore:
Timestamp:
04/25/2022 06:38:24 AM (4 years ago)
Author:
alwaysbee
Message:

version 6.9.8

Location:
beepress/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • beepress/trunk/beebox/includes/Endpoint/CDN.php

    r2271240 r2714161  
    8585                'callback'              => array($this, 'handleSubmit'),
    8686                'args'                  => array(),
     87                'permission_callback'   => function($request) {
     88                    // ... permissions check goes here
     89                    return current_user_can("edit_posts");
     90                },
    8791            )
    8892        ));
  • beepress/trunk/beebox/includes/Endpoint/Code.php

    r2284692 r2714161  
    5656                'callback'              => array($this, 'handleSubmit'),
    5757                'args'                  => array(),
     58                'permission_callback'   => function($request) {
     59                    // ... permissions check goes here
     60                    return current_user_can("edit_posts");
     61                },
    5862            )
    5963        ));
  • beepress/trunk/beebox/includes/Endpoint/Crawler.php

    r2518782 r2714161  
    3636                'callback'              => array($this, 'handleSubmit'),
    3737                'args'                  => array(),
     38                'permission_callback'   => function($request) {
     39                    // ... permissions check goes here
     40                    return current_user_can("edit_posts");
     41                },
    3842            )
    3943        ));
     
    164168                    $res = array(
    165169                        'success' => false,
    166                         'error_msg' => $response['error_msg']
     170                        'error_msg' => $response['error_msg'],
    167171                    );
    168172                }
  • beepress/trunk/beebox/includes/Endpoint/License.php

    r2553974 r2714161  
    6060                'callback'              => array($this, 'handleSubmit'),
    6161                'args'                  => array(),
     62                'permission_callback'   => function($request) {
     63                    // ... permissions check goes here
     64                    return current_user_can("edit_posts");
     65                },
    6266            )
    6367        ));
  • beepress/trunk/beebox/includes/Endpoint/Post.php

    r2311698 r2714161  
    150150                'callback'              => array($this, 'handleSubmit'),
    151151                'args'                  => array(),
     152                'permission_callback'   => function($request) {
     153                    // ... permissions check goes here
     154                    return current_user_can("edit_posts");
     155                },
    152156            )
    153157        ));
  • beepress/trunk/beepress.php

    r2666559 r2714161  
    44Plugin URI: http://xingyue.artizen.me?source=wp
    55Description: 蜜蜂采集(BeePress) 是一款能够帮助你导入微信公众号文章、知乎专栏文章、简书文章、今日头条文章的插件(支持规则配置采集其他网站文章),可以实现单篇或者批量导入、自动同步文章、采集指定公众号所有历史文章(公众号自动同步和历史文章功能不再提供),支持将图片资源保存到本地。
    6 Version: 6.9.7
     6Version: 6.9.8
    77Author: Bee
    88Author URI: http://xingyue.artizen.me?source=wp
     
    1313 * 初始化
    1414 */
    15 define('BEEPRESS_VERSION', '6.9.7');
     15define('BEEPRESS_VERSION', '6.9.8');
    1616if(!class_exists('simple_html_dom_node')){
    1717    require_once("simple_html_dom.php");
  • beepress/trunk/readme.txt

    r2666559 r2714161  
    44Author URI: http://xingyue.artizen.me?source=wp
    55Plugin URI: http://xingyue.artizen.me?source=wp
    6 Stable tag: 6.9.7
     6Stable tag: 6.9.8
    77Requires at least: 4.2
    88Requires PHP: 5.3.0
     
    5757None
    5858== Changelog ==
     59= 6.9.8 =
     60* 漏洞修复
    5961= 6.9.7 =
    6062* 兼容 php8
Note: See TracChangeset for help on using the changeset viewer.