Make WordPress Core

Changeset 61872


Ignore:
Timestamp:
03/10/2026 03:10:39 AM (4 weeks 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.8 branch.

Props johnbillion, jorbin.
See #64227.

Location:
branches/6.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.8

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

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