Skip to content

Restore fails for concatenated strings in WP_DEBUG_LOG #10

@noplanman

Description

@noplanman

As far as I can tell, the problem seems to be this line:

$value = trim( $value, '"\'' ); // Normalize quoted value.

My wp-config.php before:

define( 'WP_DEBUG_LOG', __DIR__ . '/../logs/wp-debug.log' );

After restore (note the missing end quote of the file path):

define( 'WP_DEBUG_LOG', __DIR__ . '/../logs/wp-debug.log );

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