Changeset 58936 for trunk/src/wp-includes/block-supports/background.php
- Timestamp:
- 08/26/2024 05:38:05 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/background.php
r58834 r58936 76 76 // If the background size is set to `contain` and no position is set, set the position to `center`. 77 77 if ( 'contain' === $background_styles['backgroundSize'] && ! $background_styles['backgroundPosition'] ) { 78 $background_styles['backgroundPosition'] = ' center';78 $background_styles['backgroundPosition'] = '50% 50%'; 79 79 } 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.