wordpress upgrade

This is for anyone coming in from the Wordpress support forum.

Below is an upgrade patch for upgrading Wordpress 1.5.1 to 1.5.1.3.

I checked the changelogs for 1.5.1.2 and 1.5.1.3 and these are the changed files:

wp-admin/post.php
wp-content/themes/default/header.php
wp-includes/functions-post.php
wp-includes/functions.php
wp-includes/template-functions-category.php
wp-includes/template-functions-general.php
wp-includes/version.php
wp-login.php
xmlrpc.php

There are no database schema changes, so no need to run upgrade.php.

So, first, make a backup, then delete the files listed above:

rm wp-admin/post.php
rm wp-content/themes/default/header.php
rm wp-includes/functions-post.php
rm wp-includes/functions.php
rm wp-includes/template-functions-category.php
rm wp-includes/template-functions-general.php
rm wp-includes/version.php
rm wp-login.php
rm xmlrpc.php

Download my patch file - upgradewordpress1.5.1-1.5.1.3.zip, and upload to your Wordpress root. Then:

unzip upgradewordpress1.5.1-1.5.1.3.zip

You should get:

Archive: upgradewordpress1.5.1-1.5.1.3.zip
inflating: wp-admin/post.php
inflating: wp-content/themes/default/header.php
inflating: wp-includes/functions-post.php
inflating: wp-includes/functions.php
inflating: wp-includes/template-functions-category.php
inflating: wp-includes/template-functions-general.php
inflating: wp-includes/version.php
inflating: wp-login.php
inflating: xmlrpc.php

That’s it. Job done.

Use at your own risk. Don’t come crying to me if it doesn’t work. It worked on the two installs I have.

6 Responses to “wordpress upgrade”


  1. 1 Angsuman Chakraborty  your flag — India (definitely maybe)

    I linked to this page from my WordPress 1.5.1.2 to 1.5.1.3 patch page. For some reason trackback didn’t work.

  2. 2 Richard Silverstein  your flag — United States (definitely maybe)

    A ? about the default theme header.php file mentioned above: if I’m using a non-default theme do you mean for me to delete the header.php file for that theme as well–or just the header file for the default theme?

  3. 3 shaky  your flag — Hong Kong (definitely maybe)

    If you are not using the default header, then just keep yours. I couldn’t see any changes in header.php bar whitespace and carriage returns.

  4. 4 Severa  your flag — United States (definitely maybe)

    Wanted to drop a line and say Thanks much for the patch file. Worked beautifully for me!

  5. 5 Kenneth  your flag — Singapore (definitely maybe)

    Just what i needed… nice job here =)

  1. 1 Simple Thoughts - Java and Web Blog   your flag — United States (definitely maybe)

Leave a Reply







Referrer Karma has eaten 32 referrer spams on this site in the last 3 days.