Skip to content
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

Remove Plugins page for non-Jetpack sites (cleanup of #3079) #3166

Closed
wants to merge 10 commits into from

Conversation

Tug
Copy link
Contributor

@Tug Tug commented Feb 8, 2016

In the context of removing the eCommerce feature from the Business plan upgrade, the plugins page becomes available to Jetpack sites only. The "Plugins" menu entry is being removed on #3079

This PR removes references to plugins related to Business upgrade and redirects /plugins/:site to /plugins if the current site is not a jetpack.

@Tug Tug added [Status] In Progress Jetpack Plugins [Type] Janitorial [Feature] Checkout The checkout screen and process for purchases made on WordPress.com. labels Feb 8, 2016
@Tug Tug self-assigned this Feb 8, 2016
@Tug Tug changed the title Remove Plugins page for non-Jetpack sites Remove Plugins page for non-Jetpack sites (cleanup of #3079) Feb 8, 2016
@Tug Tug force-pushed the remove/plugins-page-wpcom branch from da5050a to a4da13c Compare February 8, 2016 17:14
This makes it more consistent with the logic to display the Plan menu item.
This clarifies the code by minimizing the number of feature gates.
This also switches part of a condition to make it easier to understand.
This make sure the Plugins page is not accessible from the sidebar for sites with a Business plan and ecommerce plugins.
@Tug Tug force-pushed the remove/plugins-page-wpcom branch from a4da13c to 1c031c0 Compare February 8, 2016 17:17
@Tug Tug force-pushed the remove/plugins-page-wpcom branch from 1c031c0 to 414f035 Compare February 8, 2016 17:31
@Tug Tug closed this Feb 8, 2016
@Tug Tug deleted the remove/plugins-page-wpcom branch February 8, 2016 23:16
@Tug
Copy link
Contributor Author

Tug commented Feb 8, 2016

Created new branch due to a merge commit (52e2d4d) which cannot be rebased:
#3170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Checkout The checkout screen and process for purchases made on WordPress.com. [Type] Janitorial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants