Skip to content

Don't add WP_DEBUG=TRUE if WORDPRESS_DEBUG is set to FALSE #496

Closed
@dbjpanda

Description

@dbjpanda

I have a .env.example inside my docker-compose project. For simplicity, when onboarding a team member, I just ask to rename it to .env, change the debug value if you are developer, and docker-compose up.

If you are a designer you don't need to change that value. Just keep its value as it is. i.e By default I have the env variable set to FALSE. But even if it is set to false it adds WP_DEBUG=true.

So please don't check with an empty variable. Rather it should be checked if it is set to true or not

if [ "$WORDPRESS_DEBUG" ]; then

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions