|
@@ -1768,10 +1768,12 @@ |
|
|
block discarded – undo |
|
1768
|
1768
|
if ( 'update-core' === $screen->base ) { |
|
1769
|
1769
|
// Core update screen. |
|
1770
|
1770
|
return true; |
|
1771
|
|
- } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
|
1771
|
+ } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { |
|
|
1772
|
+// phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
1772
|
1773
|
// Plugins bulk update screen. |
|
1773
|
1774
|
return true; |
|
1774
|
|
- } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
|
1775
|
+ } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { |
|
|
1776
|
+// phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
1775
|
1777
|
// Individual updates (ajax call). |
|
1776
|
1778
|
return true; |
|
1777
|
1779
|
} |
Please login to merge, or discard this patch.