| @@ -626,15 +626,8 @@ | ||
| 626 | 626 | foreach ( $cache_flush_hooks as $cache_flush_hook ) { |
| 627 | 627 | do_action( $cache_flush_hook ); |
| 628 | 628 | } |
| 629 | 629 | |
| 630 | - // Cloudflare APO. | |
| 631 | - if ( class_exists( '\Cloudflare\APO\WordPress\Hooks' ) ) { | |
| 632 | - $_cloudflare = new \Cloudflare\APO\WordPress\Hooks(); | |
| 633 | - if ( is_callable( array( $_cloudflare, 'purgeCacheEverything' ) ) ) { | |
| 634 | - $_cloudflare->purgeCacheEverything(); | |
| 635 | - } | |
| 636 | - } | |
| 637 | 630 | // Kinsta. |
| 638 | 631 | if ( isset( $GLOBALS['kinsta_cache'] ) && ! empty( $GLOBALS['kinsta_cache']->kinsta_cache_purge ) && is_callable( array( $GLOBALS['kinsta_cache']->kinsta_cache_purge, 'purge_complete_caches' ) ) ) { |
| 639 | 632 | $GLOBALS['kinsta_cache']->kinsta_cache_purge->purge_complete_caches(); // @phpstan-ignore method.nonObject |
| 640 | 633 | } |
| @@ -648,9 +641,9 @@ | ||
| 648 | 641 | if ( is_callable( array( $_pagely, 'purgeAll' ) ) ) { |
| 649 | 642 | $_pagely->purgeAll(); |
| 650 | 643 | } |
| 651 | 644 | } |
| 652 | - // Pressidium. | |
| 645 | + // Pressidum. | |
| 653 | 646 | if ( is_callable( array( 'Ninukis_Plugin', 'get_instance' ) ) ) { |
| 654 | 647 | $_pressidum = Ninukis_Plugin::get_instance(); // @phpstan-ignore class.notFound |
| 655 | 648 | if ( is_callable( array( $_pressidum, 'purgeAllCaches' ) ) ) { |
| 656 | 649 | $_pressidum->purgeAllCaches(); // @phpstan-ignore method.nonObject |
| @@ -1268,9 +1261,9 @@ | ||
| 1268 | 1261 | |
| 1269 | 1262 | /** |
| 1270 | 1263 | * Load WP export functions. |
| 1271 | 1264 | */ |
| 1272 | - require_once ABSPATH . 'wp-admin/includes/export.php'; | |
| 1265 | + require_once ABSPATH . 'wp-admin/includes/export.php'; // @phpstan-ignore requireOnce.fileNotFound (This is a WordPress core file that always exists.) | |
| 1273 | 1266 | $value = wxr_cdata( implode( ',', $table_ids ) ); |
| 1274 | 1267 | |
| 1275 | 1268 | // Hijack the filter and print extra XML code for our faked post meta field. |
| 1276 | 1269 | // phpcs:disable WordPress.Security.EscapeOutput.HeredocOutputNotEscaped |