Skip to content

Convert from command to site-type #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 30, 2018

Conversation

mrrobot47
Copy link
Member

@mrrobot47 mrrobot47 commented Aug 28, 2018

Signed-off-by: Riddhesh Sanghvi <[email protected]>
Signed-off-by: Riddhesh Sanghvi <[email protected]>
Signed-off-by: Riddhesh Sanghvi <[email protected]>
src/WP.php Outdated
@@ -16,7 +16,7 @@
*
* @package ee-cli
*/
class Site_WP_Command extends EE_Site_Command {
class WP extends EE_Site_Command {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that class name is not long we can use WordPress as the class name. Please update it as WordPress and rename file to wordpress.php.

src/WP.php Outdated
if ( ! EE::exec( $core_download_command ) ) {
EE::error('Unable to download wp core.', false );
if ( ! \EE::exec( $core_download_command ) ) {
\EE::error('Unable to download wp core.', false );
}

// TODO: Look for better way to handle mysql healthcheck
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have some issue for this in our repo? If not please create one so that it won't lost in code itself.

@mrrobot47 mrrobot47 removed the request for review from kirtangajjar August 30, 2018 08:21
@rahulsprajapati rahulsprajapati merged commit edf1f0d into EasyEngine:develop Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants