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
91 stars 42 forks source link

Function GET_APP_ID_BY_DOMAIN_NAME is in the wrong file. #22

Open elindydotcom opened 2 years ago

elindydotcom commented 2 years ago

The function GET_APP_ID_BY_DOMAIN_NAME likely needs to be moved down into the class-wordpress-app.php file. This is because it is a wordpress-app specific function. Other apps do not know anything about a domain name so this function should not really be all the way up in the class hierarchy.

We just need to be careful to search the code base to make sure that we are indeed only using this function in the wordpress app before moving it.