diff --git a/includes/transformer/class-post.php b/includes/transformer/class-post.php index f9f36f3..b337f68 100644 --- a/includes/transformer/class-post.php +++ b/includes/transformer/class-post.php @@ -88,7 +88,7 @@ class Post { * @return void */ public static function transform( WP_Post $wp_post ) { - return new self( $wp_post ); + return new static( $wp_post ); } /**