@@ -10,17 +10,17 @@ |
||
| 10 | 10 | * @subpackage WordPress_Security_Txt/admin/partials |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | -?><label for="<?php echo esc_attr($atts['id']); ?>"> |
|
| 13 | +?><label for="<?php echo esc_attr($atts[ 'id' ]); ?>"> |
|
| 14 | 14 | <input aria-role="checkbox" |
| 15 | - <?php checked(1, $atts['value'], true); ?> |
|
| 16 | - class="<?php echo esc_attr($atts['class']); ?>" |
|
| 17 | - id="<?php echo esc_attr($atts['id']); ?>" |
|
| 18 | - name="<?php echo esc_attr($atts['name']); ?>" |
|
| 15 | + <?php checked(1, $atts[ 'value' ], true); ?> |
|
| 16 | + class="<?php echo esc_attr($atts[ 'class' ]); ?>" |
|
| 17 | + id="<?php echo esc_attr($atts[ 'id' ]); ?>" |
|
| 18 | + name="<?php echo esc_attr($atts[ 'name' ]); ?>" |
|
| 19 | 19 | type="checkbox" |
| 20 | 20 | value="1"/> |
| 21 | - <span class="description"><?php if (!empty($atts['description_raw'])) { |
|
| 22 | - print $atts['description_raw']; |
|
| 21 | + <span class="description"><?php if (!empty($atts[ 'description_raw' ])) { |
|
| 22 | + print $atts[ 'description_raw' ]; |
|
| 23 | 23 | } else { |
| 24 | - esc_html_e($atts['description'], 'wordpress-security-txt'); |
|
| 24 | + esc_html_e($atts[ 'description' ], 'wordpress-security-txt'); |
|
| 25 | 25 | } ?></span> |
| 26 | 26 | </label> |