Upgrade to 2.1.1 broke partly the post content
-
Hello,
Today I upgrade from 1.0.7 to 2.1.1
The upgrade broke the content in the post, adding additional characters and stuff.This is how I handled each RSS in the plugin
{$content} <!--more--> [rule] <div> [insert_php] $RSSpage = file_get_contents("{$permalink}"); $start = strpos($RSSpage, "<div>"); $stop = strpos($RSSpage, "</div>") + 6; $RSSpage = substr($RSSpage, $start, $stop - $start); echo $RSSpage; [/insert_php]
But in the WP post itself I get the following:
[insert_php] $RSSpage = file_get_contents("<a href="https://studio5.kluwereasyweb.be/bkhdkrl/documents/news-items/20150309-pensioensparen-epargnepension.xml" target="_blank">Pensioensparen: de nieuwe regels</a>"); $start = strpos($RSSpage, "<h2>"); $stop = strpos($RSSpage, "</h2></div>") + 6; $RSSpage = substr($RSSpage, $start, $stop - $start); echo $RSSpage; [/insert_php]
Adding
– a html- and body tag begin-end of the post
-#13 after each line
– getting a anchor tag instead of a link only
– adding strangly enough an additional h2 tagCan you please check this?
thanks,
Lambert.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Upgrade to 2.1.1 broke partly the post content’ is closed to new replies.