Skip to content

Commit d169481

Browse files
committed
Add link field
1 parent 9870028 commit d169481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/block-bindings/post-data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function _block_bindings_post_data_get_value( array $source_args, $block_instanc
7272
}
7373
}
7474

75-
if ( 'link' === $source_args['key'] ) {
75+
if ( 'link' === $field ) {
7676
$permalink = get_permalink( $post_id );
7777
return false === $permalink ? null : esc_url( $permalink );
7878
}

0 commit comments

Comments
 (0)