PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.13.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.13.0
2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 All 80 releases
← All changes | includes/controls/transform.php +2 -2 2.8.02.13.0 View file →
@@ -187,9 +187,9 @@
187 187
188 188 public static function get_css( $attributeValue, $property = '', $device = '' ) {
189 189 $value = wp_parse_args(
190 190 $attributeValue,
191 - self::get_attribute_default_value( (bool) $device )
191 + $device ? self::responsive_defaults() : self::get_attribute_default_value( false )
192 192 );
193 193
194 194 $css = [];
195 195 $transformations = [];
@@ -289,9 +289,9 @@
289 289 return $css;
290 290 }
291 291
292 292 public static function get_hover_css( $attribute_value, $property = '', $device = '' ) {
293 - $value = wp_parse_args( $attribute_value, self::get_attribute_default_value( (bool) $device ) );
293 + $value = wp_parse_args( $attribute_value, $device ? self::responsive_defaults() : self::get_attribute_default_value( false ) );
294 294 $transformations = [];
295 295 $transformOrigin = '';
296 296 $x_offset_hover_unit = self::get_unit(
297 297 [