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 hydephp/develop@00fef19
  • Loading branch information
github-actions authored and caendesilva committed Dec 21, 2024
1 parent 8e47c9f commit 3946c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/Features/XmlGenerators/RssFeedGenerator.php
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 3946c11

Please sign in to comment.