The 1.34.0 update is now available for the WordPress (composer managed) upstream. This update changes the default PHP version to 8.3, syncs the upstream with Roots Bedrock, and fixes a PHP warning. The Bedrock sync changes the Composer repository defaults, which can cause merge conflicts in your composer.json file.
Updates
- Updates the default PHP version to 8.3 and changes the PHP requirement in
composer.jsonto>=8.3. For more information about the PHP default change, see New default PHP version 8.3 for WordPress upstreams. (For more information see #204.) - Syncs the upstream with Bedrock. (For more information see #201.) This includes:
- Changing the Composer repository from WPackagist (
wpackagist.org) to WP Packages (repo.wp-packages.org). Package names for plugins and themes change fromwpackagist-plugin/*andwpackagist-theme/*towp-plugin/*andwp-theme/*. - Removing the
roots/wp-password-bcryptpackage fromcomposer.json. - Setting
WP_ENVIRONMENT_TYPEfromWP_ENVwhen it is not already defined, and settingWP_DEVELOPMENT_MODEwhen it is configured. - Setting
MYSQL_CLIENT_FLAGSto use SSL whenDB_SSLis set.
- Changing the Composer repository from WPackagist (
Bug fixes
- Resolves a
rtrim()warning in PHP 8.1 and later environments. (For more information see #189. Props @mattmacneil.)
For more details, refer to the WordPress (Composer Managed) changelog.
Action required
To benefit from these updates and ensure your site is using the most current version, apply the update to your WordPress (composer managed) site or custom upstream.
If your composer.json file requires plugins or themes using wpackagist-plugin/* or wpackagist-theme/* package names, or has custom entries in repositories, applying this update can cause merge conflicts in that file. When you resolve the conflicts, keep your custom requirements and update the package names to the new wp-plugin/* and wp-theme/* names, or keep the WPackagist repository entry.
For assistance with managing merge conflicts, refer to our documentation on auto-resolving via the dashboard or manually resolving via the command line.