PluginProbe
PhastPress / 1.90
PhastPress v1.90
3.12 3.11 1.75 1.76 1.77 1.78 1.79 1.80 1.81 1.82 1.83 1.84 1.85 1.86 1.87 1.88 1.89 1.90 1.91 1.92 1.93 1.94 1.95 1.96 1.97 All 119 releases
← All changes | functions/deployment.php +1 -1 1.881.90 View file →
@@ -79,9 +79,9 @@
79 79 $sdk = phastpress_get_plugin_sdk();
80 80 $handler = $sdk->getPhastAPI()->deployOutputBufferForDocument();
81 81
82 82 // Allow disabling PhastPress with hook.
83 - add_filter('template_redirect', function () use ($handler) {
83 + add_action('template_redirect', function () use ($handler) {
84 84 if (apply_filters('phastpress_disable', false)) {
85 85 $handler->cancel();
86 86 }
87 87 }, 100);