Prep Plugin for release on WordPress.org
Escape everything that should be escaped. Add nonce checks where needed. Sanitize all inputs. Apply Code style changes across the codebase. Correct many deprecation notices. Optimize load order of many filters.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<?php if ( ! empty($labels['save_description'])) : ?>
|
||||
|
||||
<p class="wu-mb-5">
|
||||
<?php echo $labels['save_description']; ?>
|
||||
<?php echo wp_kses_post($labels['save_description']); ?>
|
||||
</p>
|
||||
|
||||
<?php endif; ?>
|
||||
@ -16,7 +16,7 @@
|
||||
<div class="wu-bg-gray-200 wu-p-4 wu--m-3 wu--mt-2 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-400 wu-border-solid">
|
||||
|
||||
<button type="submit" name="action" value="save" class="button button-primary wu-w-full">
|
||||
<?php echo $labels['save_button_label']; ?>
|
||||
<?php echo esc_html($labels['save_button_label']); ?>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user