Skip to content

Commit

Permalink
Banner layout for WC note is deprecated. Use thumbnail instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Nov 13, 2024
1 parent ef65432 commit 2ea4a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/notes/class-wc-gzd-admin-note.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
Expand Down

0 comments on commit 2ea4a5e

Please sign in to comment.