@@ -2226,7 +2226,7 @@ |
||
| 2226 | 2226 | * |
| 2227 | 2227 | * @since 2.5.0 |
| 2228 | 2228 | * |
| 2229 | - * @return array CSS classnames. |
|
| 2229 | + * @return string[] CSS classnames. |
|
| 2230 | 2230 | */ |
| 2231 | 2231 | public function get_table_classes() { |
| 2232 | 2232 | return array( 'widefat', 'fixed' ); |
@@ -1768,10 +1768,12 @@ |
||
| 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 | } |