From b5ed0349203c7f28533baf8eb87c55dbf42eb264 Mon Sep 17 00:00:00 2001 From: cbravobernal Date: Fri, 17 Oct 2025 17:19:26 +0000 Subject: [PATCH] Block Bindings: Migrate Add link field link source key to field. [60955] moved post-data key args to a better fit field one. Adds a forgotten in that changeset `link` to that field check. Props bernhard-reiter. Fixes #64112. Built from https://develop.svn.wordpress.org/trunk@60957 git-svn-id: http://core.svn.wordpress.org/trunk@60293 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-bindings/post-data.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/block-bindings/post-data.php b/wp-includes/block-bindings/post-data.php index 6733738084..81e80332c1 100644 --- a/wp-includes/block-bindings/post-data.php +++ b/wp-includes/block-bindings/post-data.php @@ -72,7 +72,7 @@ function _block_bindings_post_data_get_value( array $source_args, $block_instanc } } - if ( 'link' === $source_args['key'] ) { + if ( 'link' === $field ) { $permalink = get_permalink( $post_id ); return false === $permalink ? null : esc_url( $permalink ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 407253d531..c0e139fe11 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60956'; +$wp_version = '6.9-alpha-60957'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.