Skip to content

Commit 4af8fa4

Browse files
ellatrixclaude
andcommitted
Register RTC meta keys for all post types
Use empty string subtype so the keys are found during cache invalidation lookups, which do not have access to the post type. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 86bfd1e commit 4af8fa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/post.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,15 +692,15 @@ function create_initial_post_types() {
692692
);
693693

694694
register_post_meta(
695-
'wp_sync_storage',
695+
'',
696696
'wp_sync_awareness',
697697
array(
698698
'invalidates_query_cache' => false,
699699
)
700700
);
701701

702702
register_post_meta(
703-
'wp_sync_storage',
703+
'',
704704
'wp_sync_update',
705705
array(
706706
'invalidates_query_cache' => false,

0 commit comments

Comments
 (0)