Skip to content

Unable to properly set WP_DEBUG using wp config create --extra-php as of wp cli 2.6.0 #140

@Hlsgs

Description

@Hlsgs

Bug Report

Describe the current, buggy behavior

As of 2.6.0, code added via the --extra-php parameter gets added below the /* Add any custom values between this line and the "stop editing" line. */ line. Therefore, adding a definition for WP_DEBUG there results in a Constant WP_DEBUG already defined notice, as it no longer overwrites the default define( 'WP_DEBUG', false );.

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