I did not implement it. If you want, we can add it together.
Thread Starter
Pierre
(@ierpe)
Hi, thanks for the answer.
Ok, I saw in some of your previous releases that you made the plugin WP-CLI compatible…
I’m a developer so ok I can help you create the feature. Do you have a github repo for the free version of the plugin?
I just added the following lines.
if(defined('WP_CLI')){
$_SERVER["SERVER_NAME"] = isset($_SERVER["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : "";
$_SERVER["SERVER_PORT"] = isset($_SERVER["SERVER_PORT"]) ? $_SERVER["SERVER_PORT"] : 80;
}
Thread Starter
Pierre
(@ierpe)
Sorry I don’t follow you here, what do you mean with these lines?
I mean that there was a problem with server name and server port. I just fixed this issue.