Make WordPress Core


Ignore:
Timestamp:
10/16/2025 06:54:54 PM (7 months ago)
Author:
Bernhard Reiter
Message:

Block Bindings: Add core/term-data source; extend core/post-data.

Add a new core/term-data source to make information about a taxonomy term available for use in Block Bindings.
Additionally, expose a post object's permalink through the core/post-data source.

Props bernhard-reiter, get_dave, jeryj, cbravobernal.
Fixes #64107.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/functions.php

    r60539 r60946  
    351351    remove_action( 'init', '_register_block_bindings_post_data_source' );
    352352    remove_action( 'init', '_register_block_bindings_post_meta_source' );
     353    remove_action( 'init', '_register_block_bindings_term_data_source' );
    353354}
    354355tests_add_filter( 'init', '_unhook_block_registration', 1000 );
Note: See TracChangeset for help on using the changeset viewer.