From 520ee0f1493ff102317d1b1cf9877163af71f70c Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Tue, 4 Jul 2023 13:47:11 +1200 Subject: [PATCH] VS Code your linting skills are terrible! --- lib/blocks.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/blocks.php b/lib/blocks.php index 7af2f5b2284b0a..e98f711b5c85a5 100644 --- a/lib/blocks.php +++ b/lib/blocks.php @@ -374,18 +374,15 @@ function gutenberg_register_legacy_social_link_blocks() { add_action( 'init', 'gutenberg_register_legacy_social_link_blocks' ); /** - * Migrate the legacy `sync_status` meta key to the new `wp_pattern_sync_status` meta key. + * Migrate the legacy `sync_status` meta key (added 16.1) to the new `wp_pattern_sync_status` meta key (16.1.1). * * This filter is INTENTIONALLY left out of core as the meta key was fist introduced to core in 6.3 as `wp_pattern_sync_status`. - * - * @since 16.1.1 - * @see https://github.com/WordPress/gutenberg/pull/52232 + * see https://github.com/WordPress/gutenberg/pull/52232 * * @param mixed $value The value to return, either a single metadata value or an array of values depending on the value of $single. * @param int $object_id ID of the object metadata is for. * @param string $meta_key Metadata key. * @param bool $single Whether to return only the first value of the specified $meta_key. - * */ function gutenberg_legacy_wp_block_post_meta( $value, $object_id, $meta_key, $single ) { if ( 'wp_pattern_sync_status' !== $meta_key ) {