WordPress.org

Ready to get started?Download WordPress

Forums

Making old theme compatible with WP 3.1 (6 posts)

  1. spherical
    Member
    Posted 3 years ago #

    Can anyone share what, exactly, to add/delete/alter in a currently running theme to ensure that WP 3.1 will not get ornery, please? Having read all of the situations out there, and not wanting to step on any of the land mines myself, I feel it would be good to get prepared ahead of time, instead of mopping up later. Ounce of prevention and all that...

    Most of the advice, sometimes repeated ad-nauseum, is to set your theme to TwentyTen first. There is a lot of code done very differently in there and trying to wrap my head around two themes and sort out what WP 3.1 doesn't like or can't live without is a total mind-bender. We could be testing for days. Can a dev who is uber-familiar with WP 3.1 theme requirements please prepare a sticky post with some data on what to change or point us to a resource?

    Thanks!

  2. Bill Erickson
    Member
    Posted 3 years ago #

    As long as your theme is well coded, you shouldn't have any issues with an update. That said, take a look at the feature list of 3.1 and see if anything directly affects something you're using in your theme.

    I've only had one client that needed some changes to his theme due to the 3.1 upgrade. We had some custom page templates that queried posts based on custom fields. WordPress improved the custom field querying abilities, but in the process broke the old way of doing it. It took about 5 minutes to fix once we realized what needed fixing.

    I hope that helps.

  3. 123milliseconds
    Member
    Posted 3 years ago #

    >>>>Having read all of the situations out there, and not wanting to step on any of the land mines myself, I feel it would be good to get prepared ahead of time, instead of mopping up later

    Probably 10000 people downloaded 3.1 already. Maybe 10 prominently posted errors here; chances are you are lucky alerady without knowing it;;

    Install 3.1 and that themne you desire on a PC test install; you might find it works perfectly in 3.1

  4. Bill Erickson
    Member
    Posted 3 years ago #

    A bit more than 10,000: http://wordpress.org/download/counter/

  5. Digital Raindrops
    Member
    Posted 3 years ago #

    Still missing a point here, if we have a blog that we value, then we do not leave it to chance.

    We should have a local test, and staging WordPress install with different databases, the staging can be in a subfolder on our production site or as a local WAMP or LAMP, test is a local install, I use both.

    So we have three databases and three installs, all plugins, upgrades etc, are run on the test then staging database, evaluated then deployed based on testing results.

    I first upgrade my WAMP database, nothing de-activated or changed, with the Theme check plugin and debug active, no errors, tested links, posts, pages and plugins then the staging databse then the production websites.

    This is called risk manangement!

    David

  6. spherical
    Member
    Posted 3 years ago #

    Yeah. That's what I did, but on the server itself. Have a separate Multisite install with a bunch of test blogs on it. Upgraded it first and sequentially cycled through the themes used on the big install. They all work. Couple of issues with plugins that need updating but, other than that, no problems.

Topic Closed

This topic has been closed to new replies.

About this Topic