Skip to content

Commit b097d00

Browse files
committed
Rename constant for accuracy.
1 parent 6ce6546 commit b097d00

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-includes/collaboration/class-wp-sync-post-meta-storage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class WP_Sync_Post_Meta_Storage implements WP_Sync_Storage {
2525
const POST_TYPE = 'wp_sync_storage';
2626

2727
/**
28-
* Meta key for awareness state.
28+
* Transient prefix for awareness state.
2929
*
3030
* @since 7.0.0
3131
* @var string
3232
*/
33-
const AWARENESS_META_KEY = 'wp_sync_awareness';
33+
const AWARENESS_TRANSIENT_PREFIX = 'wp_sync_awareness';
3434

3535
/**
3636
* Meta key for sync updates.
@@ -124,7 +124,7 @@ static function ( $update ): bool {
124124
}
125125

126126
public function get_awareness_cache_key( $post_id ) {
127-
return self::AWARENESS_META_KEY . '_' . $post_id;
127+
return self::AWARENESS_TRANSIENT_PREFIX . '_' . $post_id;
128128
}
129129

130130
/**

0 commit comments

Comments
 (0)