-
Notifications
You must be signed in to change notification settings - Fork 808
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
Check status of dev mode in navigation component and hide plan pages #12142
Conversation
Great work @scottsweb! Left some comments. Feel free to ping me on Slack for any questions 👍 |
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: May 7, 2019. |
Code is good! We currently have content there explaining that the site is in Dev Mode. That said, all those buttons are totally broken, they go nowhere. If we hide it (and I agree with that) we should remove this portion of code that displays the header for My Plan when the site is in Dev Mode since it will never be used again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐑
5786ace
to
f53bd1a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well in my tests. 👍
Check status of dev mode in navigation component and hide plan pages if dev mode is turned on. This was reported in #12119.
Fixes #12119
My first PR against Jetpack so feedback is encouraged.
Changes proposed in this Pull Request:
Testing instructions:
define( 'JETPACK_DEV_DEBUG', true );
Before:
After:
Proposed changelog entry for your changes: