We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d904252 commit 088548bCopy full SHA for 088548b
1 file changed
src/wp-includes/collaboration/class-wp-sync-post-meta-storage.php
@@ -123,6 +123,14 @@ static function ( $update ): bool {
123
return $updates;
124
}
125
126
+ /**
127
+ * Gets the transient key for awareness state for a given post ID.
128
+ *
129
+ * @since 7.0.0
130
131
+ * @param int $post_id Post ID.
132
+ * @return string Transient key for awareness state.
133
+ */
134
public function get_awareness_transient_key( $post_id ) {
135
$cache_key = self::AWARENESS_TRANSIENT_PREFIX . '_' . $post_id;
136
if ( strlen( $cache_key ) <= 172 ) {
0 commit comments