Skip to content

Detect and warn about BOM in wp-config.php #5578

@schlessera

Description

@schlessera

If a Byte Order Mark (BOM) is detected in the wp-config.php file, the mechanism for loading the config file fails with a cryptic error message.

WP-CLI should warn about the presence of a BOM, and also ensure the setup still works.

Related #1674

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions