Skip to content

Commit c7f8356

Browse files
author
David Evbodaghe
committed
Fix: Clear unmapped attribute banner when attribute is deleted
1 parent ff78871 commit c7f8356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Admin/Global_Attributes_Banner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private function is_attribute_taxonomy( $taxonomy ) {
143143
private function attribute_exists( $attribute_name ) {
144144
// Check if the taxonomy exists (attributes use pa_{name} taxonomy)
145145
$taxonomy_name = 'pa_' . $attribute_name;
146-
146+
147147
if ( ! taxonomy_exists( $taxonomy_name ) ) {
148148
return false;
149149
}

0 commit comments

Comments
 (0)