What is a rock solid development and deployment workflow? [closed]

Have a look at trellis and bedrock at https://roots.io/, it’s open source. Bedrock allows you to manage wordpress plugins via composer. Trellis is a tool to get you a development and production environment, with ensuring that they behave the same, including deployment workflow. They even explain the Twelve-Factor App methodology, how it relates to WordPress … Read more

Update a buggy installation

You have two tasks to solve here: 1. Resolve the time-out problem. 2. Update WordPress. Resolve the time-out problem These things don’t just happen because your WP is old. There must be a concrete reason. The three most common reasons are: Not enough memory. Maybe your hosting provider has limited the memory? Try adding the … Read more

Update custom plugin with WP-CLI

You would implement this: https://make.wordpress.org/core/2021/06/29/introducing-update-uri-plugin-header-in-wordpress-5-8/ First you would add a Update URI: header to your plugin with a custom domain. Second, you would add a filter to your plugin, using the filter name update_plugins_{$hostname} where {$hostname} is the value you gave your Update URI: . E.g. Update URI: example.com would have the filter update_plugins_example.com. In … Read more

Is there a wp-config.php option or constant that I can set to allow me to download nightly / beta builds?

There’s not a constant or anything there, but you can install the WP Beta Tester plugin to switch your update stream to the latest nightlies. Once you install this plugin, you can automatically update to the latest “bleeding edge” release from the standard update panel. Just remember, it’s not advised to update production sites to … Read more

How to customize and keep things up-to-date?

The key to upgrade-proof customizations is to never edit plugins directly. You should use actions and filters to hook into a plugin’s code. Not everything is customizable through these hooks, though. The amount of useful hooks provided depends on the quality of the plugin code. Also see: Hooking in to plugins If you really would … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)