Changeset 60539
- Timestamp:
- 08/05/2025 01:52:44 PM (4 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
-
src/wp-includes/block-bindings/post-data.php (added)
-
src/wp-includes/class-wp-block.php (modified) (1 diff)
-
src/wp-settings.php (modified) (1 diff)
-
tests/phpunit/includes/functions.php (modified) (1 diff)
-
tests/phpunit/tests/block-bindings/register.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block.php
r60511 r60539 286 286 'core/image' => array( 'id', 'url', 'title', 'alt' ), 287 287 'core/button' => array( 'url', 'text', 'linkTarget', 'rel' ), 288 'core/post-date' => array( 'datetime' ), 288 289 ); 289 290 -
trunk/src/wp-settings.php
r60363 r60539 365 365 require ABSPATH . WPINC . '/block-bindings.php'; 366 366 require ABSPATH . WPINC . '/block-bindings/pattern-overrides.php'; 367 require ABSPATH . WPINC . '/block-bindings/post-data.php'; 367 368 require ABSPATH . WPINC . '/block-bindings/post-meta.php'; 368 369 require ABSPATH . WPINC . '/blocks.php'; -
trunk/tests/phpunit/includes/functions.php
r57558 r60539 349 349 // Block binding sources. 350 350 remove_action( 'init', '_register_block_bindings_pattern_overrides_source' ); 351 remove_action( 'init', '_register_block_bindings_post_data_source' ); 351 352 remove_action( 'init', '_register_block_bindings_post_meta_source' ); 352 353 } -
trunk/tests/phpunit/tests/block-bindings/register.php
r57562 r60539 73 73 $source_two_name => new WP_Block_Bindings_Source( $source_two_name, $source_two_properties ), 74 74 $source_three_name => new WP_Block_Bindings_Source( $source_three_name, $source_three_properties ), 75 'core/post-data' => get_block_bindings_source( 'core/post-data' ), 75 76 'core/post-meta' => get_block_bindings_source( 'core/post-meta' ), 76 77 'core/pattern-overrides' => get_block_bindings_source( 'core/pattern-overrides' ),
Note: See TracChangeset
for help on using the changeset viewer.