Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion features/core.feature
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,12 @@ Feature: Manage WordPress installation
"""
And the return code should be 0

When I run `wp eval 'echo $GLOBALS["current_site"]->domain;'`
Given a current-site-domain.php file:
"""
<?php
echo $GLOBALS['current_site']->domain;
"""
When I run `wp eval-file current-site-domain`
Comment thread
swissspidy marked this conversation as resolved.
Outdated
Then STDOUT should be:
"""
foobar.org
Expand Down
Loading