Support » Fixing WordPress » DIV and Paragraph beheaver in 2.1

  • I have just updated to 2.1 from 2.0.7

    I used to have my widescreen images in div’s and that worked great. But now WordPress changes my entries from <div>blabla</div> to <div>blabla</div>. So now the images appear with a small margin to the left.

    Is there a possible way to change this back?

    (see for yourself: http://www.nehold.com)

Viewing 15 replies - 16 through 30 (of 75 total)
  • I am going to install 2.0.7 and run domain.com/blog/wp-admin/upgrade.php

    Is this a good idea?

    Isn’t there a specific instruction about downgrading in the codex?

    edit: can’t find it, must have made that up than :S

    Downgrading wasn’t a quick process for me. It’s easy at the beginning: Install the 2.0.7 code and run wp-admin/upgrade.php like you normally would. After that, however, I ran into some issues.

    One: All links were orphaned. I had to create new link groups and make sure my links were moved into them. I didn’t think this was a major problem.

    Two: Pages disappeared. All of the pages moved over to posts, so I had to recreate all of my pages by hand to restore the permalinks and content. I didn’t lose them, though; they just moved over to regular posts, so I had to hunt them down, copy and paste the content over, and delete the migrated posts.

    I’m not sure what other problems might exist depending on how you’ve used WP in the past. Those were the two major issues I saw after downgrading, but your mileage may vary.

    Installed the 2.0.7 code and ran wp-admin/upgrade.php …Take out all plugins BEFORE you do this though ..

    “One: All links were orphaned. I had to create new link groups and make sure my links were moved into them.

    Two: Pages disappeared. All of the pages moved over to posts, so I had to recreate all of my pages by hand to restore the permalinks and content.”

    yep, same happened to me but it only took a few minutes to hand copy and paste them from posts back into pages

    All back up and running again: http://www.barganews.com … now to wait and see what the coders can come up with

    ciao
    db

    Thanks for hints.

    It is getting late at night I will try out downgrade tomorrow.

    There is also issue with feedburner. I need to manually ping feedburner and later I received email:

    Your Ping resulted in an Error “Exceeded Access Limits – Try again Later”

    Downgrade is must for me

    Same problem here, paragraph tags are inserted between div and img tags without the paragraph tag being closed as well.

    While I’m waiting for a fix I have just copied the code from the 2.0.7 functions-formatting.php to the new formatting.php in wp-includes, which seems to work fine.

    I might’ve broken something else by replacing the new code with the old, but in my case I haven’t noticed any problem so far…

    I’m no expert, but isn’t this an easy fix? Isn’t there not just some syntax in one of the php files that needs to be fixed (or deleted)?

    I was also having this issue of any p tag inside a div that is inserted through the write panel, like from contact form plugins etc.-the opening p tag was there but the closing was gone.

    what it is and the fix can be found here;
    http://trac.wordpress.org/ticket/3669

    I just inserted the one line of code found there and it fixed all my problems and hasn’t seemed to break anything else yet.

    And what if I don’t want the whole p tag? This closes the useless p tag, but it’s still useless.

    Yep, you’re right, it still inserts the p tag when it shouldn’t. Bummer. But hey at least it validates…

    That’s true 🙂

    Solution: delete line 66 (and 67, if you used the fix linked above) of wp-includes/formatting.php. This might break some other stuff, but nothing seems to be amiss for me.

    Yeah, I tried that and noticed it fixed it but not sure if breaks anything else though. Doesn’t seem to on my local install

    The editor still removes any <div> tags and replaces them with <p> after deleting line 66.

Viewing 15 replies - 16 through 30 (of 75 total)
  • The topic ‘DIV and Paragraph beheaver in 2.1’ is closed to new replies.