PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | app/src/Document/Models/Section.php +8 -0 1.6.2 → 1.9.2 View file →
@@ -194,12 +194,20 @@
194 194 if ( !empty( $this->wrapperSize ) ) {
195 195 $sectionWidth = $this->wrapperSize->getResponsiveSizes( "width" );
196 196 if ( ! $this->wrapperSize->hasNoResponsiveSize( $sectionWidth ) ) {
197 197 $args[ 'data-wrapper-width'] = implode( ',', $sectionWidth );
198 + $args[ 'data-wrapper-width'] = str_replace( 'auto', '', $args[ 'data-wrapper-width'] );
199 + if ( $args[ 'data-wrapper-width'] == ',,' ) {
200 + unset( $args[ 'data-wrapper-width'] );
201 + }
198 202 }
199 203 $sectionHeight = $this->wrapperSize->getResponsiveSizes( "height" );
200 204 if ( ! $this->wrapperSize->hasNoResponsiveSize( $sectionHeight ) ) {
201 205 $args['data-wrapper-height'] = implode( ',', $sectionHeight );
206 + $args[ 'data-wrapper-height'] = str_replace( 'auto', '', $args[ 'data-wrapper-height'] );
207 + if ( $args[ 'data-wrapper-height'] == ',,' ) {
208 + unset( $args[ 'data-wrapper-height'] );
209 + }
202 210 }
203 211 }
204 212
205 213 if ( !empty( $this->options ) ) {