Completed
Pull Request — develop (#796)
by
unknown
05:01
created
class-tgm-plugin-activation.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2226,7 +2226,7 @@
 block discarded – undo
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' );
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.