Additional check for fast AJAX MU plugin

This commit is contained in:
Tetrakern 2023-08-21 01:23:14 +02:00
parent e6e62c1588
commit 0a310f473e

View File

@ -10,6 +10,11 @@
* License URI: http://www.gnu.org/licenses/gpl.html
*/
// Check if AJAX request
if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
return;
}
// Check if fast AJAX is activated
if ( ! isset( $_REQUEST['fcn_fast_ajax'] ) ) {
return;