humanmade / humanmade/hm-base

WP_CONTENT_URL is empty on the CLI

Open
#49 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
80
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Given the following CLI command:

`wp eval 'echo WP_CONTENT_URL;'`

The output will be `http:///content`. This resulted in a bunch of malformed URLs during the migration of a client project where attachment URLs were being generated and inserted into post content.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.