We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9870028 commit d169481Copy full SHA for d169481
src/wp-includes/block-bindings/post-data.php
@@ -72,7 +72,7 @@ function _block_bindings_post_data_get_value( array $source_args, $block_instanc
72
}
73
74
75
- if ( 'link' === $source_args['key'] ) {
+ if ( 'link' === $field ) {
76
$permalink = get_permalink( $post_id );
77
return false === $permalink ? null : esc_url( $permalink );
78
0 commit comments