Make WordPress Core

Changeset 61871


Ignore:
Timestamp:
03/10/2026 03:01:50 AM (5 days ago)
Author:
desrosj
Message:

Build/Test Tools: Explicitly enable pretty permalinks on the local development environment.

The wp_install_maybe_enable_pretty_permalinks() function usually enables pretty permalinks during installation, but it relies on a loopback request that may not work on all development environments.

In temporary lieu of fixing the underlying loopback request on all the container images, this switches to explictly enabling permalinks and removes redundant permalink configuration from GitHub Actions workflow files.

Merges [61733] to the 6.9 branch.

Props johnbillion, jorbin.
See #64227.

Location:
branches/6.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.9

  • branches/6.9/tools/local-env/scripts/install.js

    r60735 r61871  
    5050        const installCommand = process.env.LOCAL_MULTISITE === 'true'  ? 'multisite-install' : 'install';
    5151        wp_cli( `core ${ installCommand } --title="WordPress Develop" --admin_user=admin --admin_password=password --admin_email=test@example.com --skip-email --url=http://localhost:${process.env.LOCAL_PORT}` );
     52        wp_cli( `rewrite structure '/%year%/%monthnum%/%postname%/'` );
    5253    } )
    5354    .catch( err => {
Note: See TracChangeset for help on using the changeset viewer.