From 8bf77240bb800e00c286f4f4be837c4eb2a1478d Mon Sep 17 00:00:00 2001 From: Brian Hogg Date: Mon, 18 Nov 2024 12:41:44 -0500 Subject: [PATCH] Removing action hook. --- lifterlms.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lifterlms.php b/lifterlms.php index 31462f9dc6..4ab2e84519 100644 --- a/lifterlms.php +++ b/lifterlms.php @@ -36,15 +36,6 @@ defined( 'ABSPATH' ) || exit; -add_action( - 'doing_it_wrong_run', - static function ( $function_name ) { - if ( '_load_textdomain_just_in_time' === $function_name ) { - debug_print_backtrace(); - } - } -); - if ( ! defined( 'LLMS_PLUGIN_FILE' ) ) { define( 'LLMS_PLUGIN_FILE', __FILE__ ); } @@ -63,7 +54,6 @@ static function ( $function_name ) { register_activation_hook( __FILE__, array( 'LLMS_Install', 'install' ) ); - /** * Returns the main instance of LifterLMS *