Changeset 2638221
- Timestamp:
- 12/01/2021 06:29:55 PM (4 years ago)
- Location:
- beebee-mini/trunk
- Files:
-
- 3 edited
-
bee-include/include/notices.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-mini-beebee.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
beebee-mini/trunk/bee-include/include/notices.php
r2637401 r2638221 317 317 // } 318 318 319 if( defined('MINI_PROGRAM_API_PLUGIN')&&wp_miniprogram_option('update ')) {319 if( defined('MINI_PROGRAM_API_PLUGIN')&&wp_miniprogram_option('update_tpl_id')!='') { 320 320 add_action('publish_post', 'wp_bee_post_update_notice_event'); 321 321 add_action('publish_beebee_topic', 'wp_bee_post_update_notice_event'); … … 323 323 add_action('publish_beebee_quot', 'wp_bee_post_update_notice_event'); 324 324 add_action('publish_lesson', 'wp_bee_post_update_notice_event'); 325 add_action('publish_to_publish', function () {326 remove_action('publish_post', 'wp_bee_post_update_notice_event');325 add_action('publish_to_publish', function () { 326 remove_action('publish_post', 'wp_bee_post_update_notice_event'); 327 327 remove_action('publish_beebee_library', 'wp_bee_post_update_notice_event'); 328 328 remove_action('publish_beebee_topic', 'wp_bee_post_update_notice_event'); 329 329 remove_action('publish_beebee_quot', 'wp_bee_post_update_notice_event'); 330 330 remove_action('publish_beebee_quot', 'wp_bee_post_update_notice_event'); 331 },11,1);331 },11,1); 332 332 } 333 333 334 334 335 function wp_bee_post_update_notice_event( $post_id ) { … … 361 362 // $page = "/pages/detail/detail?id=".$post_id; 362 363 if($type=='post') { 363 $page = "/pagesB/single/single?id=".$post_id."&isshare=1&posttype=posts&pagetype=single"; 364 // $page = "/pagesB/single/single?id=".$post_id."&isshare=1&posttype=posts&pagetype=single"; 365 $page = "/pages/index/index?gotourl=/pagesB/single/single&id=".$post_id."&isshare=1&posttype=posts&pagetype=single"; 364 366 }else if($type) { 365 $page = "/pagesB/single/single?id=".$post_id."&isshare=1&posttype=".$type."&pagetype=single"; 367 // $page = "/pages/index/index?page/pagesB/single/single?id=".$post_id."&isshare=1&posttype=".$type."&pagetype=single"; 368 $page = "/pages/index/index?gotourl=/pagesB/single/single&id=".$post_id."&isshare=1&posttype=".$type."&pagetype=single"; 366 369 } else { 367 370 $page = "/pages/index/index"; … … 377 380 "thing1" => array( "value" => '内容更新' ), 378 381 "thing2" => array( "value" => html_entity_decode( $title ) ), 379 "thing3" => array( "value" => html_entity_decode( $content ) )382 "thing3" => array( "value" => html_entity_decode( $content?$content:'点击查看内容' ) ) 380 383 ); 381 384 foreach( $subscriber as $subscribe ) { -
beebee-mini/trunk/readme.txt
r2637401 r2638221 5 5 Requires at least: 5.5 6 6 Tested up to: 5.8.1 7 Stable tag: 1.1. 07 Stable tag: 1.1.1 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 60 60 61 61 ** 公众号【APP比比】是小程序的唯一发行渠道,任何其他渠道需要你付费购买的均为盗版。 62 63 = 1.1.1 - 2021-12-2 = 64 修复了订阅任务提示模板不正确问题。 62 65 63 66 = 1.1.0 - 2021-11-30 = -
beebee-mini/trunk/wp-mini-beebee.php
r2637401 r2638221 4 4 Plugin URI: https://demo.appbeebee.com/ 5 5 Description: 这里有很多漂亮的原创的微信小程序模板,完全基于开源的程序打造。关注公众号【APP比比】进行配置教程的学习。 6 Version: 1.1. 06 Version: 1.1.1 7 7 Author: hellobeebee 8 8 Author URI: https://www.appbeebee.com/
Note: See TracChangeset
for help on using the changeset viewer.