- fixed error in plgntls debug logs
- fixed button partner modification page restrictions
This commit is contained in:
@@ -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 .')');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user