Changeset 61430 for trunk/src/wp-includes/block-supports/settings.php
- Timestamp:
- 01/05/2026 04:50:51 AM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-supports/settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/settings.php
r56709 r61430 46 46 47 47 // return early if no settings are found on the block attributes. 48 $block_settings = isset( $block['attrs']['settings'] ) ? $block['attrs']['settings'] :null;48 $block_settings = $block['attrs']['settings'] ?? null; 49 49 if ( empty( $block_settings ) ) { 50 50 return $block_content; … … 83 83 84 84 // return early if no settings are found on the block attributes. 85 $block_settings = isset( $block['attrs']['settings'] ) ? $block['attrs']['settings'] :null;85 $block_settings = $block['attrs']['settings'] ?? null; 86 86 if ( empty( $block_settings ) ) { 87 87 return null;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)