Top Banner
WordPress Upgrades: Ready, Set, Go! Experience From Over a Million WordPress Upgrades Presented by Dustin Meza @ WordCamp Boston July 19 th , 2015
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WordPress Upgrades: Read, Set, Go!

WordPress Upgrades: Ready, Set, Go!

Experience From Over a Million WordPress Upgrades

Presented by Dustin Meza @ WordCamp Boston July 19th, 2015

Page 2: WordPress Upgrades: Read, Set, Go!

Dustin MezaDirector of Customer Experience Operations

Senior Manager, Cloud Operations

BA Business Management

Page 3: WordPress Upgrades: Read, Set, Go!

Why Should You Listen To Me?

Own the Entire WordPress Upgrade

Process @ WP Engine

Handled every upgrade deferral

request for 2+ years

Upgrading WordPress since

version 3.5

We’ve performed over 1 million

upgrades

Page 4: WordPress Upgrades: Read, Set, Go!

Disclaimer1. My advice is based on my experience and

what I have seen work for customers

2. Every site is unique

3. There’s most likely an exception to every rule

4. You will need to dedicate time, but it’s well worth it

Page 5: WordPress Upgrades: Read, Set, Go!

What People are Saying

I don’t need the upgrade because my site just works

There are so many updates, I can’t

keep up

I always stay 1 version behind so they can work out

the bugs

How could I ever know what an

update will do to my site?

WordPress upgrades always break my sites

Page 6: WordPress Upgrades: Read, Set, Go!

Button Anxiety

Page 7: WordPress Upgrades: Read, Set, Go!

The Struggle is Real

Page 8: WordPress Upgrades: Read, Set, Go!

What is an Upgrade?1. Feature/Functional Upgrade

1. An upgrade that adds or removes features and functionality2. A major (x.0) or minor (4.x) version increase

2. Maintenance Upgrade1. An upgrade that that fixes bugs, it does not add or remove

features or functionality1. A point/dot release (4.2.x)

3. Security Upgrade1. An upgrade that closes security vulnerabilities, it does not

add or remove features or functionality, unless the functionality itself was vulnerable

2. A point/dot release (4.2.x)

Page 9: WordPress Upgrades: Read, Set, Go!

What is an Upgrade?

Core Contributers

The Community Beta(n)

Beta(n) Bug Reports

Release Candidate

Page 10: WordPress Upgrades: Read, Set, Go!

Maintenance is a Must

Page 11: WordPress Upgrades: Read, Set, Go!

A Well Oiled Machine•More Horse Power (Speed)

•Tuned Perfectly (Efficient)

•All the Options (feature rich)

•Fancy Car Alarm (Security)

Page 12: WordPress Upgrades: Read, Set, Go!

Step 1: Get to Know Your SiteCatalog your Plugins1. List each plugin2. Rank them (High, Medium, Low) in respect

to the criticality to your site3. Place a few sentences of notes on front

end functionality4. Provide exact instructions for how to

reproduce the functionality

Page 13: WordPress Upgrades: Read, Set, Go!
Page 14: WordPress Upgrades: Read, Set, Go!

Step 1: Get to Know Your SiteCatalog Theme & Custom Functionality1. List out the functions2. Rank them (High, Medium, Low) in respect

to the criticality to your site3. Place a few sentences of notes on front

end functionality4. Provide exact instructions for how to

reproduce the functionality

Page 15: WordPress Upgrades: Read, Set, Go!

Step 2: Get to Know Your DevsFor the High critical plugins/themes1. Contact the Dev/Support Teams2. Let them know the specific functionality you are

using3. Open a dialogue with them on that functionality

1. Is that functionality a core part of the plugin or more of an add-on?

2. What’s the future of that functionality look like for them?3. What kind of development cycles do they have, how do

they get ready for new versions of WordPress?

4. Find at least one alternative to each plugin

Page 16: WordPress Upgrades: Read, Set, Go!

Step 3: Get to Know the FutureSubscribe to Releases on the WordPress.org blog1. Evaluate each Beta release post2. Contact devs to understand their thoughts on if

the plugin is impacted1. If so, find out when they believe they will be compatible

3. Identify if any custom functionality may be impacted

1. If so, it might be a good idea to test the beta release

4. Now you have an idea of what is coming and how the site may be impacted

Page 17: WordPress Upgrades: Read, Set, Go!
Page 18: WordPress Upgrades: Read, Set, Go!

Step 3: Get to Know the FutureSubscribe to Releases on the WordPress.org blog1. When a Release Candidate Post is made2. Contact devs to understand if they believe the

plugin is compatible, if not, when do they plan on releasing an update

3. Create a staging site4. Install the WordPress Beta Tester plugin and

follow the steps to upgrade to the latest release

Page 19: WordPress Upgrades: Read, Set, Go!
Page 20: WordPress Upgrades: Read, Set, Go!

Step 3: Get to Know the FutureIt’s time to test1. On your staging site, update all plugins and

themes (you shouldn’t have any to update )2. Execute the steps to recreate the

functionality you documented earlier3. Document each result and specifics about

any failures4. Execute any backend functions that are

unique to your site and document failures

Page 21: WordPress Upgrades: Read, Set, Go!

Step 4: It’s Go TimeHow are the results?1. If there are no issues, skip to step 52. If there are issues, let’s dig in3. If the issue is with a Medium or Low

criticality function4. You have some options

Page 22: WordPress Upgrades: Read, Set, Go!

Step 4: It’s Go TimeMedium or Low?1. Do nothing, because the functionality isn’t

critical2. Contact the plugin dev, find out what the

timeframe is for an update1. If quick, wait to upgrade, if longer, you may decide

to upgrade without it

3. Replace the functionality1. You could build something custom to replace it2. You could find an alternate plugin to use instead

Page 23: WordPress Upgrades: Read, Set, Go!

Step 4: It’s Go TimeHigh?1. Contact the plugin dev, find out what the

timeframe is for an update1. This will completely determine when you can

upgrade

2. Replace the functionality1. You could build something custom to replace it2. You could find an alternate plugin to use instead

Page 24: WordPress Upgrades: Read, Set, Go!

Step 5: Worry Free UpgradeOnce all issues have been resolved1. You will have a much better understanding

of your site2. You won’t fear the upgrade button3. You will be ready for any maintenance or

security upgrades that are released, no testing needed

4. You will have a game plan for the next functional upgrade

Page 25: WordPress Upgrades: Read, Set, Go!

Step 5: Worry Free UpgradePreparing for Next Time1. If you documented everything you did, this

process will take half the time in the future2. If you manage lots of sites, the testing plans

and communication to devs gets easier3. Ensure you plan your time accordingly over

the next quarter4. Following this plan takes time, but it also

means a lot less surprises

Page 26: WordPress Upgrades: Read, Set, Go!

WordPress Upgrades: Ready, Set, Go!

Experience From Over a Million WordPress Upgrades

Presented by Dustin Meza @ WordCamp Boston July 19th, 2015

Q&A?!