| @@ -61,9 +61,9 @@ | ||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | $width = $attributes['style']['dimensions']['width'] ?? null; |
| 64 | 64 | |
| 65 | - if ( is_string( $width ) && '' !== $width ) { | |
| 65 | + if ( $width ) { | |
| 66 | 66 | // Resolve preset references to their actual values. |
| 67 | 67 | $resolved_width = $width; |
| 68 | 68 | $is_preset = str_starts_with( $width, 'var:preset|dimension|' ); |
| 69 | 69 | |