elementor / static-html-output

Static HTML Output Plugin for WordPress

Home Page:https://statichtmloutput.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Report of Bunny deploys via CLI failing (UI fine)

leonstafford opened this issue · comments

Heya,
So I've investigated this a little myself after all.

Line 43 of static-html-plugin/src/BunnyCDN.php has the following;

if ( defined( 'WP_CLI' ) ) {
return;
}

I cannot see the logic behind this since the next 2 lines provide extra configuration that will be needed whether it's the GUI or CLI. So I commented that bit out and now it's working nicely.

Let me know if there's something I've missed though!
Ta,
Steve

Many thanks, @snibbo71! I've pushed up the change. I haven't done a thorough test of latest code, but at least that part should be good now.