Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« Exceptional PHP
WordPress BBCode Plugin »

Upgraded to WordPress 1.2

May 26th, 2004

Well, I upgraded to WordPress 1.2 today. Things did not go without a hitch. The cookie format changed, so I had to remove my cookies before I could log back in to the admin section. My feeds were down for part of the day until I realized I had to update my .htaccess file. Looking at the WordPress support forums, these look like common problems. That and a magic_quotes problem. These were minor issues.

The biggest problem for me by far, though was that WordPress 1.0.2 supported BBCode, which I used for my posts. WordPress 1.2 does not. So after my upgrade, it looked like I had three options: restore my backup, edit my all my posts, or add BBCode support to WordPress.

Of course I added BBCode support to WordPress because that only took 10 times as long as editing all of my posts to use one of the other markup styles provided. :)

I started with PEAR:: HTML_BBCodeParser. Unfortunately some of its markup processing is brittle and the design could be better. I fixed its case sensitivity and changed some of the markup generated to pass the XSS filter that WordPress uses. I also de-PEAR-ified it, making it easier to distribute as a plug in.

I also had a problem with the WordPress plugin protocol failing to call one of my hooks at the right time, causing my BBCode not to be processed in my feeds. It took me a while to find and fix this problem. Sadly, there was nothing I could do in the plugin. The fix required modifying WordPress. But, hey, plugins are a new feature of 1.2. Unfortunately, my embarrassing broken feed was captured forever at artima.

When I first installed this software, I told myself that I wouldn’t even look at the code, I would just use it like Joe User would. That didn’t last.

Filed Under

  • Open Source, PHP

Related Posts

  • A WordPress bug fix
  • Upgraded to WordPress 1.5
  • WordPress Search Engine Spam
  • WordPress BBCode Plugin
  • The Problem with Markup Languages
You can leave a response, or trackback from your own site.

4 Responses to “Upgraded to WordPress 1.2”

  1. Jeff Moore’s Blog » Blog Archive » Upgraded to WordPress 1.5 says:
    2/19/2005 at 1:36 am

    [...] to have gone well. The upgrade from 1.2 to 1.5 was much less error prone than the upgrade from 1.02 to 1.2. The upgrade process is very well done. My BBCode pl [...]

  2. Vilma Babers says:
    1/4/2012 at 5:42 am

    Sorry for the substantial evaluation, but I’m definitely loving the new Zune, and hope this, as well as the excellent reviews some other folks have written, will help you make a decision if it’s the correct choice for you.

  3. Ike Mcleish says:
    1/5/2012 at 12:04 am

    i’m getting the feeling that their may be some state sponsored hypocrisy. no?cheap Tera gold

  4. Laurence Morda says:
    2/9/2012 at 12:59 am

    You got numerous optimistic points there. I made a search on the concern and identified practically all peoples will agree along with your blog.

Leave a Reply

Click here to cancel reply.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Why PHP is easier to learn than Java  50
      Jay Marry, Jutta Trudel, Betty Wager [...]
    • On the Perils of Inline API Documentation  16
      Glen Hollinger, Newton Boudoin, Chaussre Air Jordan [...]
    • un-Friendster: fired for blogging  5
      Un Hawse, Jim Skomo, Analisa Niccum [...]
    • PHP Book sales trends versus Java and Ruby  7
      Rosann Frederick, Glenn Leffingwell, byb bye blemish [...]
    • Let Your Properties be Properties  17
      Lupita Ziler, Lawrence Constanzo, nail dryer [...]
    • Upgraded to WordPress 1.2  3
      Laurence Morda, Ike Mcleish, Vilma Babers
    • PHP Coding Standards  12
      Twana Ventry, Luther Quelch, Rhett Ososki [...]
    • Commercial Zend versus Open Source PHP  11
      Loria Brendel, Billie Areola, Hans Stremmel [...]
    • A WordPress bug fix  7
      Malcolm Kinnon, Maximo Caoagdan, Kali Giesbrecht [...]
    • The PHP scalability saga continues  17
      Cameron Borah, Monty Gucciardo, Freddie Leaton [...]
  • Recent Posts

    • Richard Thomas
    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
  • Site

    • Archives
    • Log in
  • Search