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:
David Stone
2025-04-07 09:15:21 -06:00
parent f05ab77418
commit a815fdf179
290 changed files with 2999 additions and 3269 deletions

View File

@ -11,11 +11,11 @@
<div v-if="loading"
class="wu-text-center wu-bg-gray-100 wu-rounded wu-uppercase wu-font-semibold wu-text-xs wu-text-gray-700 wu-p-4">
<span class="wu-blinking-animation"><?php _e('Loading...', 'wp-multisite-waas'); ?></span>
<span class="wu-blinking-animation"><?php esc_html_e('Loading...', 'wp-multisite-waas'); ?></span>
</div>
<div v-if='!queried.count && !loading' v-cloak class='wu-feed-loading wu-mb-6'>
<?php _e('No more items to display', 'wp-multisite-waas'); ?>
<?php esc_html_e('No more items to display', 'wp-multisite-waas'); ?>
</div>
<div v-if="!loading" class="wu-widget-inset">
@ -91,17 +91,17 @@
class='wu-feed-pagination wu-m-0 wu-flex wu-justify-between'>
<li class="wu-w-1/3 wu-m-0">
<a href="#" class="wu-block" v-on:click.prevent="refresh">
<?php _e('Refresh', 'wp-multisite-waas'); ?>
<?php esc_html_e('Refresh', 'wp-multisite-waas'); ?>
</a>
</li>
<li v-if="page > 1" class="wu-w-1/3 wu-text-center wu-m-0">
<a href="#" v-on:click.prevent="navigatePrev" class="wu-block">
&larr; <?php _e('Previous Page', 'wp-multisite-waas'); ?>
&larr; <?php esc_html_e('Previous Page', 'wp-multisite-waas'); ?>
</a>
</li>
<li v-if="hasMore() && !loading" class="wu-w-1/3 wu-text-right wu-m-0">
<a href="#" v-on:click.prevent="navigateNext" class="wu-block">
<?php _e('Next Page', 'wp-multisite-waas'); ?>
<?php esc_html_e('Next Page', 'wp-multisite-waas'); ?>
&rarr;
</a>
</li>
@ -173,7 +173,7 @@
Vue.set(wuActivityStream, 'queried', data.data);
} // end if;
}
},
})