From 918e0a6a4a517cbe0e20460a44507e73f1c96185 Mon Sep 17 00:00:00 2001 From: Mark Parolisi Date: Mon, 26 Nov 2018 13:17:30 -0500 Subject: [PATCH] use get_permalink as get_the_permalink is just an alias anyway --- public/partials/class-poet-consumer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/partials/class-poet-consumer.php b/public/partials/class-poet-consumer.php index 39d8332..0febc40 100755 --- a/public/partials/class-poet-consumer.php +++ b/public/partials/class-poet-consumer.php @@ -93,7 +93,7 @@ public function consume() { $tags = implode( ',', $tags_array ); $body_array = array( - 'canonicalUrl' => get_the_permalink( $this->post->ID ), + 'canonicalUrl' => get_permalink( $this->post->ID ), 'name' => get_the_title( $this->post->ID ), 'datePublished' => get_the_modified_time( 'c', $this->post ), 'dateCreated' => get_the_time( 'c', $this->post ),