From a371ba1a8a938e65559941017b32e14f8acd0c76 Mon Sep 17 00:00:00 2001 From: Mike Hemberger Date: Fri, 8 Feb 2019 22:57:38 -0500 Subject: [PATCH] Clean up extra variables --- lib/classes/class-section.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/classes/class-section.php b/lib/classes/class-section.php index efc79ee..27578b0 100644 --- a/lib/classes/class-section.php +++ b/lib/classes/class-section.php @@ -15,8 +15,6 @@ class Mai_Section { private $has_overlay; private $has_inner; - private $image_sizes = array(); - public function __construct( $args = array(), $content = null ) { // Save original args in a variable for filtering later. @@ -549,8 +547,6 @@ function calculate_srcset( $sources, $size_array, $image_src, $image_meta, $atta continue; } - $this->image_sizes[] = $value['width']; - // Add to our new srcset. $sources[ $value['width'] ] = array( 'url' => $url,