Fix strict arrays

This commit is contained in:
Robin Cornett
2015-12-30 15:53:19 -05:00
parent 2673641640
commit 8560bf4689
5 changed files with 12 additions and 13 deletions
@@ -159,7 +159,7 @@ class Display_Featured_Image_Genesis_Admin {
*/
public function featured_image_column_width() {
$screen = get_current_screen();
if ( in_array( $screen->base, array( 'edit', 'edit-tags', 'users' ) ) ) { ?>
if ( in_array( $screen->base, array( 'edit', 'edit-tags', 'users' ), true ) ) { ?>
<style type="text/css">
.column-featured_image { width: 105px; }
.column-featured_image img { margin: 0 auto; display: block; height: auto; width: auto; max-width: 60px; max-height: 80px; }