| @@ -52,16 +52,8 @@ | ||
| 52 | 52 | 'wp-super-cache', |
| 53 | 53 | 'deploying PhastPress via init hook to support WP Super Cache late init' |
| 54 | 54 | ); |
| 55 | 55 | (new Compat\NextGenGallery())->setup($priority + 1); |
| 56 | - } elseif (class_exists(\LiteSpeed\Core::class) | |
| 57 | - && ($priority = (new Compat\LiteSpeedCache())->getHookPriority()) !== null | |
| 58 | - ) { | |
| 59 | - add_action('after_setup_theme', 'phastpress_deploy', $priority + 1); | |
| 60 | - Compat\Log::add( | |
| 61 | - 'litespeed-cache', | |
| 62 | - 'deploying PhastPress via after_setup_theme hook to support LiteSpeed Cache' | |
| 63 | - ); | |
| 64 | 56 | } else { |
| 65 | 57 | phastpress_deploy(); |
| 66 | 58 | } |
| 67 | 59 | }); |