Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pubDate: CDATA in pages.xml vs page xml
#1
Hi,

I just noticed that the data for pubDate in a page's xml file is not wrapped in CDATA like all other data is. In pages.xml it is wrapped, too.

Example:
In mypage.xml: <pubDate>Mon, 29 Dec 2014 13:48:38 +0100</pubDate>
Everywhere else: <pubDate><![CDATA[Mon, 29 Dec 2014 13:48:38 +0100]]></pubDate>

Is there a reason?

Thanks!

Regards,
Ralf.
Reply
#2
one of the functions saved it as text, i think its updateslugs, this is fixed in 3.4
just (string) it when reading it should be fine either way
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)