From 6fcd19554aca43fe00d24c07ce74d22f904839e6 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Fri, 23 Jun 2023 15:21:14 +0200 Subject: [PATCH] updated is not needed --- includes/collection/class-followers.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/includes/collection/class-followers.php b/includes/collection/class-followers.php index 39bfc2b..4f7022a 100644 --- a/includes/collection/class-followers.php +++ b/includes/collection/class-followers.php @@ -110,22 +110,6 @@ class Followers { ) ); - register_post_meta( - self::POST_TYPE, - 'updated', - array( - 'type' => 'string', - 'single' => true, - 'sanitize_callback' => function( $value ) { - if ( ! is_numeric( $value ) && (int) $value !== $value ) { - $value = \time(); - } - - return $value; - }, - ) - ); - register_post_meta( self::POST_TYPE, '_errors', @@ -292,7 +276,7 @@ class Followers { } if ( isset( $object['user_id'] ) ) { - unset( $object['_user_id'] ); + unset( $object['user_id'] ); unset( $object['@context'] ); }