We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2609cf commit 3ee740aCopy full SHA for 3ee740a
1 file changed
cleantalk.php
@@ -603,16 +603,13 @@ function apbct_write_js_errors($data)
603
604
// Public actions
605
if ( ! is_admin() && ! apbct_is_ajax() && ! apbct_is_customize_preview() ) {
606
- if ( ! function_exists('is_user_logged_in') ) {
607
- require_once ABSPATH . 'wp-includes/pluggable.php';
608
- }
609
if (
610
apbct_is_plugin_active('fluentformpro/fluentformpro.php') &&
611
(
612
apbct_is_in_uri('ff_landing=') ||
613
614
// Load scripts for logged in users if constant is defined
615
- is_user_logged_in() &&
+ apbct_is_user_logged_in() &&
616
(defined('APBCT_FF_JS_SCRIPTS_LOAD') &&
617
APBCT_FF_JS_SCRIPTS_LOAD == true)
618
)
0 commit comments