Changeset 52766 for branches/5.9/src/wp-includes/blocks/site-logo.php
- Timestamp:
- 02/17/2022 07:40:17 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-includes/blocks/site-logo.php
r52434 r52766 15 15 function render_block_core_site_logo( $attributes ) { 16 16 $adjust_width_height_filter = function ( $image ) use ( $attributes ) { 17 if ( empty( $attributes['width'] ) || empty( $image ) ) {17 if ( empty( $attributes['width'] ) || empty( $image ) || ! $image[1] || ! $image[2] ) { 18 18 return $image; 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.