Skip to content

Commit

Permalink
Merge pull request #1795 from hydephp/prepare-post-author-changes
Browse files Browse the repository at this point in the history
Internal: Replace deprecated method usage
  • Loading branch information
caendesilva authored Jul 6, 2024
2 parents cc57e00 + 829125c commit 00fef19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function addDynamicItemData(SimpleXMLElement $item, MarkdownPost $post
}

if (isset($post->author)) {
$item->addChild('dc:creator', $post->author->getName(), 'http://purl.org/dc/elements/1.1/');
$item->addChild('dc:creator', $post->author->name, 'http://purl.org/dc/elements/1.1/');
}

if (isset($post->category)) {
Expand Down

0 comments on commit 00fef19

Please sign in to comment.