@@ -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 | } |
@@ -2308,7 +2308,7 @@ discard block |
||
2308 | 2308 | * |
2309 | 2309 | * @since 2.5.0 |
2310 | 2310 | * |
2311 | - * @return array CSS classnames. |
|
2311 | + * @return string[] CSS classnames. |
|
2312 | 2312 | */ |
2313 | 2313 | public function get_table_classes() { |
2314 | 2314 | return array( 'widefat', 'fixed' ); |
@@ -2779,7 +2779,7 @@ discard block |
||
2779 | 2779 | * @since 2.5.0 |
2780 | 2780 | * |
2781 | 2781 | * @param array $item Array of item data. |
2782 | - * @return array Array with relevant action links. |
|
2782 | + * @return string[] Array with relevant action links. |
|
2783 | 2783 | */ |
2784 | 2784 | protected function get_row_actions( $item ) { |
2785 | 2785 | $actions = array(); |