Keep WordPress, themes, and plugins updated

updates, auto-update, plugins, themes, core, security · 0 found this helpful

Most hacked WordPress sites run out-of-date software. Updates also fix bugs and bring new features. This article shows how to update and how to choose what updates by itself.

What gets updated

Part Why it matters
WordPress core Security fixes. Minor versions (6.8.1) install automatically by default
Plugins The most common source of break-ins
Themes Same as plugins. Delete unused ones
PHP See Pick a PHP version

Who does it

  • Essential: you do it, using this article.
  • Business: updates are done for you monthly. See What our WordPress care includes.
  • Pro: updates are done for you weekly.

Update by hand in your account

  1. Open Account → Hosting → your site → WordPress.
  2. Click Manage next to your site. Available updates lists WordPress, plugins, and themes that have one.
  3. Click Update next to an item, or Update everything. We back up the site before every update.
Available updates for a WordPress site
  1. Open the site, click through a few pages, and test a form.

For risky updates, turn on Smart Update. It tests first.

Set up auto-updates

  1. Sign in to wp-admin, using WordPress admin in your account.
  2. Go to Plugins and click Enable auto-updates next to each plugin you trust. Do the same under Appearance → Themes.
  3. WordPress core installs minor (security) versions by itself. To change that for major versions, ask us at https://barbrick.ca/submitticket.php.

If a site must never break, keep plugins on manual updates and use Smart Update.

Update with WP-CLI

wp core update
wp plugin update --all
wp theme update --all

See Use WP-CLI.

Good habits

  1. Make sure a recent backup exists. We take one every hour, and we take another before each update you run here.
  2. Update one thing at a time on busy shops.
  3. Update off-peak.
  4. Remove plugins and themes you don't use.

If something goes wrong

Was this helpful?

Still stuck? Ask us and we'll walk you through it.