变更集3008836
时间戳: 2023年12月12日下午02:31:30 ( 6个月 (之前) 位置: 吉普车/行李箱 文件夹: -
添加了1个 3已编辑
-
吉普马力 (已修改) ( 2个差异 ) -
资产/js/debug.js (新增) -
包括/Admin/Debug/Debug.php (已修改) ( 2个差异 ) -
自述.txt (已修改) ( 2个差异 )
图例:
未修改 补充 远离的
-
吉普车/行李箱/jeero.php 2957336兰特 3008836兰特 6 6 *作者:Slim&Dapper 7 7 *作者URI: https://slindap.com 8 *版本:1.2 3.1 8 *版本:1.2 4 9 9 *文本域:jeero 10 10 * … … 19 19 } 20 20 21 定义('Jeero\VERSION','1.2 3.1 ' ); 21 定义('Jeero\VERSION','1.2 4 ' ); 22 22 定义(“Jeero\PLUGIN_PATH”,插件dir_PATH(__FILE_)); 23 23 定义('Jeero\PLUGIN_URI',插件dir_url(__FILE__)); -
jeero/trunk/includes/Admin/Debug/Debug.php r2773539号 3008836兰特 1 1 <? php(电话) 2 2 命名空间Jeero\Admin\Debug; 三 4 add_action('admin_enqueue_scripts',__NAMESPACE__.'\nqueue_sscripts',9); 5 add_filter('heartbeat_received',__NAMESPACE__.'\receive_heartbeat',10,2); 6 7 /** 8 *将模板脚本排入Jeero管理调试页面。 9 * 10 *@自1.24起 11 *@返回无效 12 */ 13 函数enqueue_scripts(){ 14 15 $current_screen=获取当前屏幕(); 16 17 if('admin_page_jeero/debug'!=$current_screen->id){ 18 回报; 19 } 20 21 \wp_enqueue_script('jeero/templates',\jeero\PLUGIN_URI.'资产/js/debug.js',数组('jquery'),\Jeerro\VERSION); 22 23 } 24 25 /** 26 *将Jeero调试日志添加到心跳响应中。 27 * 28 *调试管理屏幕使用WordPress心跳API自动更新屏幕中显示的Jeero调试日志。 29 * 30 *@自1.24起 31 *@return array$response心跳响应。 32 */ 33 函数receive_heartbeat(数组$response,数组$data){ 34 35 if(空($data['jeeroheartbeat']){ 36 返回$response; 37 } 38 39 if('get_debug_log'!=$data['jeero_heartbeat']){ 40 返回$response; 41 } 42 43 if(!current_user_can('manage_options')){ 44 $response['jeero_debug_log']=__('拒绝访问jeero调试日志。','jeero'); 45 }其他{ 46 $response['jeero_debug_log']=\jeero\Logs\get_log_file_content(); 47 } 48 49 返回$response; 50 51 } 三 52 4 53 函数do_admin_page(){ … … 15 64 日志 16 65 <td> 17 <文本区域 class=“large-text code”rows=“20”只读><? php(电话) 66 <文本区域 id=“jeero_debug_log” class=“large-text code”rows=“20”只读><? php(电话) 18 67 echo\Jeero\Logs\get_log_file_content(); 19 68 ?></ 文本区域> -
吉隆坡/行李箱/自述.txt 2957336兰特 3008836兰特 三 三 标签:日历、门票、活动、veezi、票务管理员、audienceview、stager 4 4 需要PHP:7.2 5 测试次数高达:6。 三 5 测试次数高达:6。 4 6 6 要求至少:4.9 7 7 许可证:GPLv2或更高版本 … … 94 94 ==变更日志== 95 95 96 = 1.24 = 97 98 *改进了调试日志管理页面的可用性。 99 96 100 = 1.23 = 97 101 98 102 *在事件日历中添加了对事件状态的支持。 99 103 *现代事件日历插件(1.23.1)的导入事件价格的固定数字格式。 100 101 104 102 105 = 1.22 =