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
Both comments and pings are currently closed.

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.

    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

    • rsync to remote server via ssh  37
      Petr Halounek, Penni Tomasino, Rodney Kohnen [...]
    • WordPress BBCode Plugin  30
      wepniveth, Pamella Philipps, evakuat [...]
    • PEAR Templates  18
      Sang Bellotti, Kandice Sansing, car insurance estimates for teenagers [...]
    • Extreme Simplicity  15
      Gilbert Moatz, Roni Beauregard, Barb Geyer [...]
    • Manual Memory Management is Dead  6
      Grass Fed Filet Mignon, Kellie Carello, PAPANDOR [...]
    • Friendster wrapup: does MySQL scale  38
      Ollie Joya, nfl jersey on sale, selling scrap gold [...]
    • The Coding Apprentice  51
      fkawau, Annamae Mccane, Boca Raton Personal Injury [...]
    • The Legality of Republishing RSS Feeds  30
      dasfdsfsd, reebok authentic nfl jersey, Tory Rennemeyer [...]
    • Exceptional PHP  7
      Sports, The Click, Laraine Waterhouse [...]
    • PDO versus MDB2  42
      selling silver coins, Oliver Luongo, ddkoaorpa [...]
  • 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