Skip to content

Commit 088548b

Browse files
committed
Docblock for new method.
1 parent d904252 commit 088548b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ static function ( $update ): bool {
123123
return $updates;
124124
}
125125

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+
*/
126134
public function get_awareness_transient_key( $post_id ) {
127135
$cache_key = self::AWARENESS_TRANSIENT_PREFIX . '_' . $post_id;
128136
if ( strlen( $cache_key ) <= 172 ) {

0 commit comments

Comments
 (0)