Forums

Upgrading to 1.5.1.2 (28 posts)

  1. Ksec
    Member
    Posted 7 years ago #

    I don't understand why the post doesn't mention simply over write the file

    wp-includes/template-functions-category.php

    with the new 1.5.1.2 one?

    Or is there any other catches?

  2. Mark (podz)
    Support Maven
    Posted 7 years ago #

    Overwriting is a bad thing. Deleting the old one first and replacing that way is okay though.

  3. marv
    Member
    Posted 7 years ago #

    If I'm upgrading from 1.5.1 to 1.5.1.2., do I need to run the upgrade script?

  4. Mark (podz)
    Support Maven
    Posted 7 years ago #

    It's always a wise thing to do :)

  5. Ajay
    Member
    Posted 7 years ago #

    What exactly is the purpose of the Upgrade script?

  6. James
    Happiness Engineer
    Posted 7 years ago #

    It upgrades the database in case changes need to be made to the database structure or content.

  7. holyroller
    Member
    Posted 7 years ago #

    So what is this upgrade script?

    I did the manual upgrade (changed the line in the file).

  8. James
    Happiness Engineer
    Posted 7 years ago #

    So what is this upgrade script?

    /wp-admin/upgrade.php

    It upgrades the database in case changes need to be made to the database structure or content.

  9. Kafkaesqui
    Moderator
    Posted 7 years ago #

    wp-admin/upgrade.php

    Considering the extremely minor changes from 1.5.1.1 to 1.5.1.2, my opinion is it really doesn't need to be run. If upgrading from any other version, however, that would be a smart move.

  10. holyroller
    Member
    Posted 7 years ago #

    Okay, that's what I was a'thinking.

    Any idea how to update the version info at the bottom of the admin screens? I looked at the wp-admin/admin-footer but it didn't help much (calls on the bloginfo(version) )

  11. Kafkaesqui
    Moderator
    Posted 7 years ago #

    @holyroller, just update the file wp-includes/version.php

  12. holyroller
    Member
    Posted 7 years ago #

    never looked there!

    duh!

    That was like, so easy. Sheesh. Thanks!

  13. logicbus
    Member
    Posted 7 years ago #

    In this post:

    http://wordpress.org/support/topic/33189#post-187724

    Podz effectively says that the wp-admin folder did not change from 1.5 to 1.5.1, so don't update it.

    But in this post:

    http://wordpress.org/support/topic/34263

    ryan says that there are changes in the wp-admin folder. So -- can anyone offer descriptive 1.5.1.2 upgrade instructions a la
    http://wordpress.org/support/topic/33189#post-187724 ?

  14. James
    Happiness Engineer
    Posted 7 years ago #

    There were some /wp-admin/ changes from v1.5 to v1.5.1. It's best to follow the upgrade instructions here: http://wordpress.org/support/topic/33189#post-187724

  15. logicbus
    Member
    Posted 6 years ago #

    Thanks macmanx.

    After reading your post it appears that I was confused ... I must have been thinking about this a little too hard ...

  16. stchatterbox
    Member
    Posted 6 years ago #

    hmmmm, i'm using 1.5.1 now want the latest version

    i've read the tutorials but just wonder which folder to delete first

  17. James
    Happiness Engineer
    Posted 6 years ago #

    Just follow the instruction here (they apply for v1.5.1 to v1.5.1.2 as well): http://wordpress.org/support/topic/33189#post-187724

    As which folder to delete first, it doesn't matter. Just go for it and do it quickly.

  18. stchatterbox
    Member
    Posted 6 years ago #

    hmm....nope.....the first step given in the instruction is to delete the old file first!

    but i've modified the theme and added some plugins, thus donnu which folder under the wordpress to be deleted.

  19. James
    Happiness Engineer
    Posted 6 years ago #

    Read from here: http://wordpress.org/support/topic/33189#post-187724

    The first step is: BACKUP your database

    The second step is: Download [1.5.1.2] Unzip it.

    The third step is: Open the unzipped folder, and DELETE wp-images. (You have no need for these in an upgrade)

    The fourth step is: Now open your ftp program and go to your blog directories

    The fifth step is: On the server, delete the directories wp-admin and wp-includes. Note: If you have "languages" directory in your wp-includes folder (with .mo files) you may want to save/backup those before deleting the wp-includes directory. Upload the new ones.

    The sixth step is: The Classic and Default themes have been changed slightly so if you wish to, you can upload those to your wp-content folder.

    The seventh step is: On the server and at blog root, delete the old WordPress files and upload new ones. I recommend you do this one by one if you are not sure. Do not delete wp-config.php.

    The eighth step is: Now run "www.example.com/wp-admin/upgrade.php"

    Honestly, I don't see what's difficult to understand about that. You start deleting files from your server in the 5th step in this order:

    1. /wp-admin/
    2. /wp-includes/
    3. The WordPress files in the blog root. (IOW, those that end with .php and belong to WordPress in the blog root.)

    Do not delete wp-config.php and /wp-content/.

  20. stchatterbox
    Member
    Posted 6 years ago #

    you know, mac, i'm a super dummy and don't really know root, or some "technical termies"

    well, so that means i can't delete wp-config.php and the folder /wp-content/ from my server,
    right?

    so that means i can't also upload the /wp-content/ from my new wordpress pack, otherwise, it'll overwrite it!

  21. James
    Happiness Engineer
    Posted 6 years ago #

    Root is the main directory. Nothing exists beforeroot. So, the term for "WordPress root" means that it is main WordPress directory, IOW no WordPress files exist in any directories before it.

    Delete everything but wp-config.php and /wp-content/.

  22. stchatterbox
    Member
    Posted 6 years ago #

    The third step is: Open the unzipped folder, and DELETE wp-images. (You have no need for these in an upgrade)

    so beside deleting wp-images after upzipping the folder, do i also need to delete wp-config.php and /wp-content/

    this is what makes me most confused

  23. James
    Happiness Engineer
    Posted 6 years ago #

    No, you don't have to delete them, just don't upload them (which would overwrite wp-config.php and /wp-content/, and you're not supposed to do that). But, why not. Sure, delete wp-config-sample.php and /wp-content/ after unzipping the file.

  24. stchatterbox
    Member
    Posted 6 years ago #

    ok, got it completely, will do that later.........................
    if i encounter any problems will tell you.
    by the way, what's the difference btw this upgraded version and the 1.5.1?

  25. James
    Happiness Engineer
    Posted 6 years ago #

    what's the difference btw this upgraded version and the 1.5.1?

    Many bug fixes and security fixes.

  26. stchatterbox
    Member
    Posted 6 years ago #

    i see. donnu if you have noticed it,
    if i logout from my admin area and click the "GO BACK" button on my browser's toolbar, it'll really go back and I can continue to work without logging in again!

    is this problem also fixed in 1.5.1.2? If so, I'll consider an upgrade.

  27. niche101
    Member
    Posted 6 years ago #

    I just upgraded and received this:

    Fatal error: Call to undefined function: get_userdata() in /home/taoenter/public_html/blog/wp-includes/functions.php on line 845

    What do I do now?

  28. niche101
    Member
    Posted 6 years ago #

    Nevermind. I found the problem and fixed it myself.

    It's always good to replace all the upgraded files in the blogroot :)

    Everything is working fine now, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic