Allow mobile theme to be removed via query string for testing#14196
Allow mobile theme to be removed via query string for testing#14196
Conversation
Allow mobile theme to be removed via query string for testing
This is an automated check which relies on |
jeherve
left a comment
There was a problem hiding this comment.
What would you think about moving this here instead?
jetpack/modules/minileven/minileven.php
Line 31 in 792b26b
|
That looks like it could be a more sensible place to check, I will do some testing and make the change. |
|
Maybe we can take that opportunity to give the query string a more generic name? Something like |
|
Updated and tested |
- If site runs Jetpack 8.1-alpha or newer, we know they have access to the new query string introduced here: Automattic/jetpack#14196 We can consequently show them a notice with a link to check if site is responsive at Google. - If site runs an older version of Jetpack, or if the Mobile Theme is disabled, show a regular deprecation notice. - Do not display mobile theme toggle or settings when module is deactivated.
* Writing Settings: remove Mobile Theme UI when feature isn't active Fixes #36404 * Customize Mobile Theme card depending on version and module status - If site runs Jetpack 8.1-alpha or newer, we know they have access to the new query string introduced here: Automattic/jetpack#14196 We can consequently show them a notice with a link to check if site is responsive at Google. - If site runs an older version of Jetpack, or if the Mobile Theme is disabled, show a regular deprecation notice. - Do not display mobile theme toggle or settings when module is deactivated. * Fix form class name It did not reflect the actual section we are in. * Grey out settings instead of removing them when module inactive * Remove unneeded fragment
* Changelog: 8.1 additions * Changelog: add #13858 * Changelog: add #13963 * Changelog: add #14174 * Changelog: add #14178 * Changelog: add #14175 * Changelog: add #14192 * Changelog: add #14196 * Changelog: add #14182 * Changelog: add #14218 * Changelog: add #14214 * Changelog: add #13757 * Changelog: add #14190 * Changelog: add #14131 * Changelog: add #14101 * Changelog: add #14203 * Changelog: add #14211 * Changelog: add #14224 * Changelog: add #14230 * Changelog: add #14241 * Changelog: add #14249 * Changelog: add #14264 * Changelog: add #14263 * Changelog: add #14256 * Changelog: add #10189 * Changelog: add #14240 * Changelog: add #14239 Also added some new entries to the testing file. Co-authored-by: Igor Zinovyev <zinigor@gmail.com>
* Changelog: 8.1 additions * Changelog: add #13858 * Changelog: add #13963 * Changelog: add #14174 * Changelog: add #14178 * Changelog: add #14175 * Changelog: add #14192 * Changelog: add #14196 * Changelog: add #14182 * Changelog: add #14218 * Changelog: add #14214 * Changelog: add #13757 * Changelog: add #14190 * Changelog: add #14131 * Changelog: add #14101 * Changelog: add #14203 * Changelog: add #14211 * Changelog: add #14224 * Changelog: add #14230 * Changelog: add #14241 * Changelog: add #14249 * Changelog: add #14264 * Changelog: add #14263 * Changelog: add #14256 * Changelog: add #10189 * Changelog: add #14240 * Changelog: add #14239 Also added some new entries to the testing file. Co-authored-by: Igor Zinovyev <zinigor@gmail.com>
Testing an idea to allow temporary removal of minileven for testing within a responsive website test tool.
Changes proposed in this Pull Request:
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Modify existing part of Jetpack: p6TEKc-3iM-p2
Testing instructions:
?jetpack-preview=responsivethemeto the URL and test the original theme loadsProposed changelog entry for your changes: