Skip to content

Bug: Do not set debug constants #15

@slaFFik

Description

@slaFFik

Either ask the user to set them, or at least wrap your own code into the if ( !defined() ) checks.

I'm talking about these:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', true );

Otherwise every app launch on a WP install just creates errors for me because I already have those constants set like that at the beginning of the file:

const WP_DEBUG         = true;
const WP_DEBUG_LOG     = true;
const WP_DEBUG_DISPLAY = true;
const SAVEQUERIES      = true;
const SCRIPT_DEBUG     = true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions