- fixed displaying outdated templates admin notice between theme switching;

This commit is contained in:
Mykyta Synelnikov
2024-02-14 14:35:16 +02:00
parent 3d13907c2b
commit 5673f1c450
4 changed files with 53 additions and 14 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ if ( ! class_exists( 'um\common\Screen' ) ) {
* Screen constructor.
*/
public function __construct() {
add_filter( 'body_class', array( &$this, 'remove_admin_bar' ), 1000, 1 );
add_filter( 'body_class', array( &$this, 'remove_admin_bar' ), 1000 );
}
/**