- fixed error in plgntls debug logs

- fixed button partner modification page restrictions
This commit is contained in:
asus
2024-04-04 15:06:33 +02:00
parent 6cd25725e0
commit 4948298b8a
4 changed files with 75 additions and 15 deletions

View File

@@ -55,8 +55,10 @@ class Plgntls {
* typical for early hooks like 'init' or 'wp', where there is a first check to see if you should 'enter' in this function, level 1 will be present after thoses checks
* 2 : output everything
*
*/
private static $_DEBUG_INFOS = 1;
private static $_DEBUG_INFOS = 2;
*/
private static $_DEBUG_INFOS = 0;
private static $_instance_count = 0;
private static $_adding_count = 0;
@@ -335,6 +337,7 @@ class Plgntls {
$function = $trace[1]['function'];
$file = $trace[0]['file'];
$line = $trace[0]['line'];
error_log("-debug: function '".$function."' (in ".$file.", line ".$line .')');
}