WPCloudDeploy / wp-cloud-deploy

WPCloudDeploy is a WordPress plugin that allows you to easily deploy and manage your own dedicated high-performance WordPress servers and sites at any cloud server provider.
https://wpclouddeploy.com
Other
87 stars 41 forks source link

Use the IP from the Server Post if available #96

Open batonac opened 1 year ago

batonac commented 1 year ago

Instead of loading the provider API, the IP address can be called directly from the post meta in most cases.

elindydotcom commented 1 year ago

@batonac - Curious - what's the purpose for this change? Is it a performance optimization change or to fix a bug you encountered?

batonac commented 1 year ago

It's a bug workaround, truthfully, since the Proxmox API provider suddenly stopped working with the existing IP address retrieval code. I haven't had time to diagnose the issue yet, but I felt like submitting this change since it seems it could be justified on the basis of a performance optimization.