mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-18 14:03:20 +09:00
Fix strict arrays
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user