Posted in June, 2007

For the end part of June and the entirety of July, I will be in Italy, and thus nothing will happen here. Not that that’s unusual, or anything. But I won’t be active in WordPress matters, and this blog will be left unattended to. I suppose I’ll close comments. Don’t fail me, Akismet.

Things I’m going to be missing:

(Let’s hope this future posting thing works.)

Beauty in Motion

Beauty in Motion, originally uploaded by DonBaird.

Found this on the last 7 days’ “interesting” photos on Flickr. And I wanted to try the Flickr blogging stuff.

WordPress 2.2.1 has been released, which includes many fixes for bugs that sprung up, and most importantly of all, fixes a few rather major security holes:

As always, it’s recommended you download it now.

Ever since I started using the PXS Mail Form plugin in favor of WP-ContactForm for my contact page, I always had problems with it conflicting with the Markdown plugin. Namely, that it disabled the Markdown formatting, and left me with a pile of rubbish.

At the time I decided to keep Markdown and disabled PXS Mail Form, and my contact page took a vacation, but I finally managed to take some time to look a little deeper. Turns out, it’s pretty obvious. Lines 467 through 472:

~~~ .prettyprint remove_filter(‘the_content’, ‘Markdown’, 6); // [… snipped some …] add_filter(‘the_content’, ‘pxs_callback’, 1);

D'oh. In case that doesn't make sense to you, it's actually taking the `Markdown()` filter *off* and putting its own as priority 1. That's not good. I ended up changing it to:

~~~ .prettyprint
//remove_filter('the_content', 'Markdown', 6);
// [... snipped some ...]
add_filter('the_content', 'pxs_callback', 14);

So now the line removing Markdown() is commented out, and I lowered (so to speak) the priority of pxs_callback() to 14, and it all works great. Just in case someone else runs into this.

I find it highly ironic that PHP’s somewhat infamous safe_mode is listed under “Features” in the PHP manual.