From d5cbf00457ab65e24ee0e7ca22e30d5406d0b169 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 10 Jul 2014 21:25:49 +0000 Subject: [PATCH] Media Grid: Screen Options for grid have to play nice with Screen Options for list. This was fun. See #24716. git-svn-id: https://develop.svn.wordpress.org/trunk@29078 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/screen.php | 8 +++++++- src/wp-admin/js/common.js | 9 +++++++-- src/wp-includes/media-template.php | 6 +++++- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/screen.php b/src/wp-admin/includes/screen.php index fa3141ab3f..21f16305b4 100644 --- a/src/wp-admin/includes/screen.php +++ b/src/wp-admin/includes/screen.php @@ -1078,7 +1078,13 @@ final class WP_Screen { get_option( 'media_grid_title' ) ): ?>
- _options as $column => $args ) { + _options as $column => $args ) { $id = "$column-hide"; echo '