Skip to content

Commit

Permalink
use get_permalink as get_the_permalink is just an alias anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
markparolisi committed Nov 26, 2018
1 parent 8df730b commit 918e0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/partials/class-poet-consumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),
Expand Down

0 comments on commit 918e0a6

Please sign in to comment.