-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Milestone
Description
If you run wp site list with the Wordpress MU Domain Mapping plugin turned on, you'll get the raw URLs in the database.
If you then use one of those URLs in --url=<url>, you'll get a warning:
Warning: Some code is trying to do a URL redirect. Backtrace:
#0 WP_CLI\Utils\wp_redirect_handler(http://www.mapped.com)
#1 call_user_func_array(WP_CLI\Utils\wp_redirect_handler, Array ([0] => http://www.mapped.com)) called at [/wp-includes/plugin.php:173]
#2 apply_filters(wp_redirect, http://www.mapped.com, 302) called at [/wp-includes/pluggable.php:865]
#3 wp_redirect(http://www.mapped.com) called at [/assets/plugins/wordpress-mu-domain-mapping/domain_...]
#4 dm_redirect_admin()
#5 call_user_func_array(dm_redirect_admin, Array ([0] => )) called at [/wp-includes/plugin.php:406]
#6 do_action(admin_init) called at [/usr/share/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php:35]
#7 include(/usr/share/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php) called at [/usr/share/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php:17]
Previously: #661
Reactions are currently unavailable