diff --git a/wp-includes/block-bindings/term-data.php b/wp-includes/block-bindings/term-data.php index c9522d88a0..15541b18e8 100644 --- a/wp-includes/block-bindings/term-data.php +++ b/wp-includes/block-bindings/term-data.php @@ -14,12 +14,12 @@ * @access private * * @param array $source_args Array containing source arguments used to look up the override value. - * Example: array( "key" => "name" ). + * Example: array( "field" => "name" ). * @param WP_Block $block_instance The block instance. * @return mixed The value computed for the source. */ function _block_bindings_term_data_get_value( array $source_args, $block_instance ) { - if ( empty( $source_args['key'] ) ) { + if ( empty( $source_args['field'] ) ) { return null; } @@ -65,7 +65,7 @@ function _block_bindings_term_data_get_value( array $source_args, $block_instanc } } - switch ( $source_args['key'] ) { + switch ( $source_args['field'] ) { case 'id': return esc_html( (string) $term_id ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c0e139fe11..5cf97d7186 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60957'; +$wp_version = '6.9-alpha-60958'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.