Changeset 12443 for sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/helpers/helper-translation-discussion.php
- Timestamp:
- 03/02/2023 01:24:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/helpers/helper-translation-discussion.php
r12435 r12443 441 441 // Something was found in the cache. 442 442 443 if ( self::is_temporary_post_id( $post_id ) && $create) {443 if ( self::is_temporary_post_id( $post_id ) ) { 444 444 // a fake post_id was stored in the cache but we need to create an entry. 445 445 // Let's pretend a cache fail, so that we get a chance to create an entry unless one already exists. … … 485 485 } 486 486 487 wp_cache_ add( $cache_key, $post_id );487 wp_cache_set( $cache_key, $post_id ); 488 488 return $post_id; 489 489 }
Note: See TracChangeset
for help on using the changeset viewer.