From 2ea4a5e06c4ea5115755ab7da72c8fed9bc16bae Mon Sep 17 00:00:00 2001 From: vendidero Date: Wed, 13 Nov 2024 16:07:29 +0100 Subject: [PATCH] Banner layout for WC note is deprecated. Use thumbnail instead. --- includes/admin/notes/class-wc-gzd-admin-note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/notes/class-wc-gzd-admin-note.php b/includes/admin/notes/class-wc-gzd-admin-note.php index d7168abd..4a8b2017 100644 --- a/includes/admin/notes/class-wc-gzd-admin-note.php +++ b/includes/admin/notes/class-wc-gzd-admin-note.php @@ -246,7 +246,7 @@ protected function add() { if ( is_callable( array( $note, 'set_layout' ) ) ) { try { - $note->set_layout( 'banner' ); + $note->set_layout( 'thumbnail' ); } catch ( \Exception $e ) { $note->set_layout( 'plain' ); }