Pushed to version 0.1.8. Details in changelog. (Makefile, FontAwesome, sass)
This commit is contained in:
@@ -361,7 +361,10 @@ class AlertMetaBox {
|
||||
public static function field_label($args) {
|
||||
if (!isset($args['title'])) return false;
|
||||
|
||||
echo '<label class="' . esc_attr($args['class']) . '" for="' . esc_attr($args['id']) . '">';
|
||||
echo '<label';
|
||||
if (isset($args['class']) && !empty($args['class'])) echo ' class="' . esc_attr($args['class']) . '"';
|
||||
if (isset($args['id']) && !empty($args['id'])) echo ' for="' . esc_attr($args['id']) . '"';
|
||||
echo '>';
|
||||
esc_html_e($args['title']);
|
||||
if (isset($args['required']) && $args['required'] == true) echo ' <span class="required req">*</span>';
|
||||
echo '</label>';
|
||||
|
||||
Reference in New Issue
Block a user