From d60415a4d7774bde6cc9ae24bb6dc55cfd2ccfc1 Mon Sep 17 00:00:00 2001 From: Nadir Seghir Date: Fri, 5 Nov 2021 11:17:52 +0100 Subject: [PATCH] increase priority --- src/AssetsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AssetsController.php b/src/AssetsController.php index a64dd210eee..0d6acdd1799 100644 --- a/src/AssetsController.php +++ b/src/AssetsController.php @@ -38,8 +38,8 @@ protected function init() { add_action( 'body_class', array( $this, 'add_theme_body_class' ), 1 ); add_action( 'admin_body_class', array( $this, 'add_theme_body_class' ), 1 ); add_action( 'admin_enqueue_scripts', array( $this, 'update_block_style_dependencies' ), 20 ); - add_action( 'wp_enqueue_scripts', array( $this, 'update_block_settings_dependencies' ), 1 ); - add_action( 'admin_enqueue_scripts', array( $this, 'update_block_settings_dependencies' ), 1 ); + add_action( 'wp_enqueue_scripts', array( $this, 'update_block_settings_dependencies' ), 100 ); + add_action( 'admin_enqueue_scripts', array( $this, 'update_block_settings_dependencies' ), 100 ); } /**