Skip to content

Home and Site URLs return literal placeholders. #645

@aaemnnosttv

Description

@aaemnnosttv

Submit a feature request or bug report

Replace any X with your information.


What is the current behavior?

Working from a fresh roots-example-project. Maybe that project is just out of sync?

vagrant@roots-example-project:/srv/www/roots-example-project.com/current$ wp option get home
https://${HTTP_HOST}
vagrant@roots-example-project:/srv/www/roots-example-project.com/current$ wp option get siteurl
https://${HTTP_HOST}/wp
vagrant@roots-example-project:/srv/www/roots-example-project.com/current$ wp eval 'echo home_url();'
https://${HTTP_HOST}
https://${HTTP_HOST}vagrant@roots-example-project:/srv/www/roots-example-project.com/current$ wp eval 'echo site_url();'
http://${HTTP_HOST}/wp

What is the expected or desired behavior?

These commands should return https://roots-example-project.dev and https://roots-example-project.dev/wp respectively.


Bug report

Please describe your local environment:

Ansible version: 2.0.0.2

OS: El Capitain 10.11.6

Vagrant version: 1.8.4

Where did the bug happen? Development or remote servers?

Just reproduced locally so far.

Please provide a repository or your wordpress_sites config (if possible):

wordpress_sites:
  roots-example-project.com:
    site_hosts:
      - roots-example-project.dev
    local_path: ../site # path targeting local Bedrock site directory (relative to Ansible root)
    admin_email: admin@roots-example-project.dev
    multisite:
      enabled: false
    ssl:
      enabled: true
      provider: self-signed
    cache:
      enabled: false

Is there a related Discourse thread or were any utilized (please link them)?

https://discourse.roots.io/t/cron-job-has-literal-wp-home/6635/6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions