PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.1
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.1
2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.2 All 57 releases
← All changes | includes/Migration/MigrationLoader.php +4 -4 2.2.02.4.1 View file →
@@ -57,9 +57,9 @@
57 57 * @return void
58 58 */
59 59 public static function handle_ajax_migration() {
60 60 // Check nonce
61 - if (!wp_verify_nonce($_POST['nonce'], 'easy_invoice_migration_nonce')) {
61 + if (!wp_verify_nonce(($_POST['nonce'] ?? ''), 'easy_invoice_migration_nonce')) {
62 62 wp_die('Security check failed');
63 63 }
64 64
65 65 // Check permissions
@@ -98,9 +98,9 @@
98 98 * @return void
99 99 */
100 100 public static function handle_check_status() {
101 101 // Check nonce
102 - if (!wp_verify_nonce($_GET['nonce'], 'easy_invoice_migration_nonce')) {
102 + if (!wp_verify_nonce(($_GET['nonce'] ?? ''), 'easy_invoice_migration_nonce')) {
103 103 wp_die('Security check failed');
104 104 }
105 105
106 106 // Check permissions
@@ -126,9 +126,9 @@
126 126 * @return void
127 127 */
128 128 public static function handle_get_migration_counts() {
129 129 // Check nonce
130 - if (!wp_verify_nonce($_GET['nonce'], 'easy_invoice_migration_nonce')) {
130 + if (!wp_verify_nonce(($_GET['nonce'] ?? ''), 'easy_invoice_migration_nonce')) {
131 131 wp_die('Security check failed');
132 132 }
133 133
134 134 // Check permissions
@@ -242,9 +242,9 @@
242 242 * @return void
243 243 */
244 244 public static function handle_ajax_cleanup() {
245 245 // Check nonce
246 - if (!wp_verify_nonce($_POST['nonce'], 'easy_invoice_migration_nonce')) {
246 + if (!wp_verify_nonce(($_POST['nonce'] ?? ''), 'easy_invoice_migration_nonce')) {
247 247 wp_die('Security check failed');
248 248 }
249 249
250 250 // Check permissions