File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
* Plugin Name: DustPress Debugger
4
4
* Plugin URI: https://github.com/devgeniem/dustpress-debugger
5
5
* Description: Provides handy ajaxified debugger tool for DustPress based themes.
6
- * Version: 1.2.3
6
+ * Version: 1.2.4
7
7
* Author: Geniem Oy / Miika Arponen & Ville Siltala
8
8
* Author URI: http://www.geniem.com
9
9
*/
10
10
11
11
namespace DustPress ;
12
12
13
13
use add_action ;
14
+ use add_filter ;
14
15
use admin_url ;
15
16
use current_user_can ;
16
17
use is_user_logged_in ;
@@ -60,7 +61,8 @@ public static function init() {
60
61
add_filter ( 'dustpress/menu/data ' , array ( __CLASS__ , "gather_menu_helper_data " ) );
61
62
62
63
// Prevent DustPress for caching the rendered output so that this plugin works
63
- add_filter ( "dustpress/cache/rendered " , "__return_false " , PHP_INT_MAX );
64
+ add_filter ( "dustpress/cache/rendered " , "__return_false " , ( PHP_INT_MAX - 1000 ) );
65
+ add_filter ( "dustpress/cache/partials " , "__return_false " , ( PHP_INT_MAX - 1000 ) );
64
66
}
65
67
}
66
68
}
You can’t perform that action at this time.
0 commit comments