Skip to content

Content constants are missing in wp-config.php #5

@MeMattStone

Description

@MeMattStone

Describe the bug
The wp-config.php is missing the constants that tell WordPress where to look for themes, plugins, uploads etc, which when missing causes WordPress to error as it can't find the theme.

Expected behavior
The main wp-config.php should have the following lines just before the FS_METHOD:

/** Set the content directory path */
define( 'CONTENT_DIR', '/wp-content' );
define( 'WP_CONTENT_DIR', dirname(__FILE__) . CONTENT_DIR );
define( 'WP_CONTENT_URL', WP_HOME . CONTENT_DIR );

Environment

  • OS: macOS
  • Terminal/Shell: iTerm2 with Starship

Nucleus CLI version:
1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions