插件目录

变更集3008836


忽略:
时间戳:
2023年12月12日下午02:31:30(6个月(之前)
作者:
斯林达普
消息:

1.24版

位置:
吉普车/行李箱
文件夹:
添加了1个
3已编辑

图例:

未修改
补充
远离的
  • 吉普车/行李箱/jeero.php

    2957336兰特 3008836兰特  
    66*作者:Slim&Dapper
    77*作者URI:https://slindap.com
    8 *版本:1.23.1
     8*版本:1.24
    99*文本域:jeero
    1010 *
     
    1919}
    2020
    21 定义('Jeero\VERSION','1.23.1' );
     21定义('Jeero\VERSION','1.24' );
    2222定义(“Jeero\PLUGIN_PATH”,插件dir_PATH(__FILE_));
    2323定义('Jeero\PLUGIN_URI',插件dir_url(__FILE__));
  • jeero/trunk/includes/Admin/Debug/Debug.php

    r2773539号 3008836兰特  
    11<?php(电话)
    22命名空间Jeero\Admin\Debug;
     
     4add_action('admin_enqueue_scripts',__NAMESPACE__.'\nqueue_sscripts',9);
     5add_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   
     17if('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
     35if(空($data['jeeroheartbeat']){
     36返回$response;
     37    }
     38   
     39if('get_debug_log'!=$data['jeero_heartbeat']){
     40返回$response;       
     41    }
     42   
     43if(!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
    453函数do_admin_page(){
     
    1564日志
    1665<td>
    17 <文本区域class=“large-text code”rows=“20”只读><?php(电话)
     66<文本区域id=“jeero_debug_log”class=“large-text code”rows=“20”只读><?php(电话)
    1867echo\Jeero\Logs\get_log_file_content();
    1968                        ?></文本区域>
  • 吉隆坡/行李箱/自述.txt

    2957336兰特 3008836兰特  
    标签:日历、门票、活动、veezi、票务管理员、audienceview、stager
    44需要PHP:7.2
    5 测试次数高达:6。
     5测试次数高达:6。4
    66要求至少:4.9
    77许可证:GPLv2或更高版本
     
    9494==变更日志==
    9595
     96= 1.24 =
     97
     98*改进了调试日志管理页面的可用性。
     99
    96100= 1.23 =
    97101
    98102*在事件日历中添加了对事件状态的支持。
    99103*现代事件日历插件(1.23.1)的导入事件价格的固定数字格式。
    100 
    101104
    102105= 1.22 =
注:请参见TracChangeset(跟踪变更集)获取有关使用变更集查看器的帮助。