So, sometime over the last couple of days my site was hacked. From what I read online a number of Wordpress sites on Network Solutions' servers were hacked in the same manner, though the ISP claims their servers are clean. The hack somehow revised the siteurl configuration option in the database to point to an iframe.
I've cleaned the database, reinstalled the base CMS, themes, and plugins from the latest official versions, changed the db/user passwords, reviewed the .htaccess, etc. When I brought the site back up I ran into a strange problem.
Post content in the content div runs together, ignoring line breaks. All the posts were originally created in the wyswyg editor in WP. Looking at them in the editor, the line breaks show, and the formatting of the individual paras shows as 'paragraph'. Looking at the content in view source in Chrome also shows the text line breaks, as does looking at the raw text content in the db.
I don't know why WP inserts newline characters rather than p tags, or even br elements, but the key thing is that the post content hasn't changed. So however it is encoding posts now is how it was encoding them before, and before the hack and rebuild it displayed paragraph breaks fine. I've diffed the page.php, functions.php, and style.css files in the theme (Paalam) folder against the versions from the old/hacked site, and so far I haven't found any differences that would explain the change in rendering newlines. I also dropped the old style.css sheet into the theme folder just to see if that changed the behavior, but it didn't.
Anyone have any thoughts on this?
I've cleaned the database, reinstalled the base CMS, themes, and plugins from the latest official versions, changed the db/user passwords, reviewed the .htaccess, etc. When I brought the site back up I ran into a strange problem.
Post content in the content div runs together, ignoring line breaks. All the posts were originally created in the wyswyg editor in WP. Looking at them in the editor, the line breaks show, and the formatting of the individual paras shows as 'paragraph'. Looking at the content in view source in Chrome also shows the text line breaks, as does looking at the raw text content in the db.
I don't know why WP inserts newline characters rather than p tags, or even br elements, but the key thing is that the post content hasn't changed. So however it is encoding posts now is how it was encoding them before, and before the hack and rebuild it displayed paragraph breaks fine. I've diffed the page.php, functions.php, and style.css files in the theme (Paalam) folder against the versions from the old/hacked site, and so far I haven't found any differences that would explain the change in rendering newlines. I also dropped the old style.css sheet into the theme folder just to see if that changed the behavior, but it didn't.
Anyone have any thoughts on this?