Skip to content

Plugin API: Installing plugins always returns an error.#8017

Merged
zinigor merged 1 commit intomasterfrom
fix/jetpack-install-plugin-bug
Oct 19, 2017
Merged

Plugin API: Installing plugins always returns an error.#8017
zinigor merged 1 commit intomasterfrom
fix/jetpack-install-plugin-bug

Conversation

@enejb
Copy link
Copy Markdown
Member

@enejb enejb commented Oct 18, 2017

Recently we added some bug fixes. This introduced a bug where we would always be returning an error when we install an plugin.

This PR fixes this by making sure that $error is being checked for the empty case.

Changes proposed in this Pull Request:

Testing instructions:

Run this PR Go to calypso and install a plugin. Notice that this doesn't error.

Proposed changelog entry for your changes:

Recently we added some bug fixes. This introduced a bug where we would always be returning an error when we install an plugin.

This PR fixes this by making sure that $error is being checked for the empty case.
@enejb enejb requested a review from a team as a code owner October 18, 2017 22:31
@enejb enejb self-assigned this Oct 18, 2017
@enejb enejb requested review from lezama and oskosk October 18, 2017 22:31
@enejb enejb added this to the 5.5 milestone Oct 18, 2017
@enejb enejb added the [Status] Needs Review This PR is ready for review. label Oct 18, 2017
Copy link
Copy Markdown
Contributor

@oskosk oskosk left a comment

Choose a reason for hiding this comment

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

🐑

@zinigor zinigor merged commit 9207e60 into master Oct 19, 2017
@zinigor zinigor deleted the fix/jetpack-install-plugin-bug branch October 19, 2017 06:44
@zinigor zinigor removed the [Status] Needs Review This PR is ready for review. label Oct 19, 2017
@jeherve jeherve added [Feature] WPCOM API [Status] Needs Changelog Bug When a feature is broken and / or not performing as intended labels Oct 19, 2017
jeherve added a commit that referenced this pull request Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug When a feature is broken and / or not performing as intended [Feature] WPCOM API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants