Files
wp-multisite-waas/views/base/edit/widget-save.php
David Stone d88e50df38 Prep Plugin for release on WordPress.org (#23)
* Update translation text domain
* 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.
* Add Proper Build script
* Use emojii flags
* Fix i18n deprecation  notice for translating too early
* Put all scripts in footer and load async
2025-04-14 11:36:46 -06:00

23 lines
523 B
PHP

<?php
/**
* Save widget view.
*
* @since 2.0.0
*/
?>
<?php if ( ! empty($labels['save_description'])) : ?>
<p class="wu-mb-5">
<?php echo wp_kses_post($labels['save_description']); ?>
</p>
<?php endif; ?>
<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 esc_html($labels['save_button_label']); ?>
</button>
</div>