You are currently browsing the archives for posts tagged as WordPress.
Actually, I’ve been running it for most of today. Changes seem transparent and nothing too weird has happened.
I think my theme doesn’t break… at least I haven’t seen any breakage. Here’s hoping it stays that way in the theme department
I did have a widget that doesn’t function properly anymore. Fortunately, it’s mine! Yes, the Single Bookmark Category List widget breaks in WP2.2. I’m working on a fix and it should be complete by the end of tomorrow. My apologies goes out to users of the widget.
wpautop. It deals with post formatting very well 99% of the time. For me, the 1% time it’s not working properly is when it’s handling HTML comments.
In case you’re wondering why the hell do I need to put HTML comments in posts; well it’s for things such as embedding AdSense Deluxe content. It may also be useful for Section Targeting, but I don’t use it.
The problem is that
wpautop wrap comments in a paragraph tag (
<p>). Why it does that is beyond me. Anyway, my fix is to add the following lines in the
wpautop function codes in
formatting.php just before the line that says
$pee = str_replace("<p><!--", "<!--", $pee);
$pee = str_replace("--></p>", "-->", $pee);
formatting.php is inside the wp-includes directory of your WP installation in case you’re wondering
Anybody know why this isn’t already in