From 829125ce1dac5a77bbbb16e565bbd40beadd3c0e Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 6 Jul 2024 20:46:41 +0200 Subject: [PATCH] Replace deprecated method usage --- .../src/Framework/Features/XmlGenerators/RssFeedGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php b/packages/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php index 09ebc3db6d8..b3abfab48d2 100644 --- a/packages/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php +++ b/packages/framework/src/Framework/Features/XmlGenerators/RssFeedGenerator.php @@ -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)) {