Skip to content

Commit 1bdffcc

Browse files
committed
correct clear method
1 parent ac7c6a8 commit 1bdffcc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

php/class-delivery.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ public function process_featured_image( $html, $post_id, $attachment_id ) {
111111
* @param int $post_id The post ID to remove cache from.
112112
*/
113113
public function remove_replace_cache( $post_id ) {
114-
delete_post_meta( $post_id, self::META_CACHE_KEY . '_http' );
115-
delete_post_meta( $post_id, self::META_CACHE_KEY . '_https' );
114+
delete_post_meta( $post_id, self::META_CACHE_KEY );
116115
}
117116

118117
/**

0 commit comments

Comments
 (0)