-
Notifications
You must be signed in to change notification settings - Fork 0
Update naar WordPress 6.4
Wybe van den Bosch edited this page Jun 3, 2026
·
1 revision
- Update alle plugins, WordPress naar
^6.4.1, Yard Blocks naar^1.15, The Events Calendar naar "^6.2", Fusion Framework naar^5.0.0en installeer de nieuwe Sites Monitor plugin:
composer update && composer require johnpbloch/wordpress "6.4.*" johnpbloch/wordpress-core "6.4.*" yard/fusion "^5.0.0" plugin/yard-blocks "^1.15" wpackagist-plugin/sites-monitor-
Volg de Fusion Framework upgrade guide.
-
Check of er Tribe Events templates in het project staan. Zo ja, verplaats ze naar de root van het thema met
git mv:
git mv ./htdocs/wp-content/themes/theme-fusion/templates/tribe ./htdocs/wp-content/themes/theme-fusion/tribe
-
Update alle
@yardinternet/gutenberg-*packages naar de laatste versie:- Installeer eenmalig
npm install -g npm-check-updates. - Voer dit command uit waar de
package.jsonstaat.
- Installeer eenmalig
ncu -u --packageFile package.json '@yardinternet/gutenberg-*' && npm install
- Search-replace
fa-twitternaarfa-x-twitter. - Search-replace
fa-square-twitternaarfa-square-x-twitter.
- Deploy naar acceptatie. Voer direct onderstaande wp cli commands uit.
Voor single sites:
wp eval "update_option('template', str_replace('/templates', '', get_option('template')));"
Voor multisites:
wp site list --field=url | xargs -n1 -I % wp --url=% eval "update_option('template', str_replace('/templates', '', get_option('template')));"
- Deploy naar production. Voer direct weer bovenstaande wp cli command uit.
Let op, onderstaande hoeft niet uitgevoerd te worden op gemeentes. Sites Monitor hoeft daar niet geactiveerd te worden.
- Ga naar
/wp-admin/plugins.phpen activeer Sites Monitor - Ga naar
/wp-admin/options-general.php?page=wp-sites-monitoren voer onderstaande gegevens in.
URL: https://sites-v2.yard.nl
Username: Minda
Password: zie 1Password