I’m using trellis. I have a small, simple production site that doesn’t have a staging counterpart (if that’s even relevant to this question). After having tested a WordPress Core update in my dev environment, which of the following four ways is the preferred method for updating WordPress in production?
- SSH in and run
wp core update
? - SSH in and edit
composer.json
and runcomposer update
? - Run a deploy again?
- Set
DISALLOW_FILE_MODS
to false and update from WordPress dashboard?
I assume any of the methods would work (in fact I know methods #3 and #4 work, because that’s how I’ve done it in the past). But which is the “right” method?