Skip to content

Commit

Permalink
Properly tag snippet type badges on edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
sheabunge committed May 22, 2022
1 parent 8808252 commit adc9473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/views/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
printf( '<a class="nav-tab" href="%s"', esc_url( add_query_arg( 'type', $type_name ) ) );
}

printf( ' data-type="%s">%s <span>%s</span></a>', esc_attr( $type_name ), esc_html( $label ), esc_html( $type_name ) );
printf( ' data-type="%s">%s <span class="badge">%s</span></a>', esc_attr( $type_name ), esc_html( $label ), esc_html( $type_name ) );
} ?>
</h2>
<?php } ?>
Expand Down

0 comments on commit adc9473

Please sign in to comment.