Cleaning up <br /> from b2 and WP

Got a ton of <br /> tags in your b2/WP?

Run one quick UPDATE in phpMyAdmin or directly from the command line. You’ll need to have the right privs for that database [INSERT and DELETE, I think], but that’s pretty trivial.

As the MySQL manual for UPDATE notes: “If you specify the keyword LOW_PRIORITY, execution of the UPDATE is delayed until no other clients are reading from the table.” If you’ve got a high-traffic site and are worried about messing things up, you might want to slap a LOW_PRIORITY on it, just for fun. 🙂

When I get home tonight, I’ll be running this…


Comments are closed.