#1397 closed defect (bug) (fixed)
Add 'initial-scale=1' to viewport setting in wordcamp-base-v2 for mobile friendliness
Reported by: | rclilly | Owned by: | iandunn |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | good-first-bug has-patch |
Cc: |
Description
The current version of the WordCamp Base Redux theme is not mobile friendly because it omits the 'initial-scale=1' setting in the <meta name="viewport" content="width=device-width" /> tag. Need to add that without breaking backward compatibility for existing sites using the theme. The solution is to check for the site's (blog's) ID and if it's greater than the current WordCamp site's ID, add the setting, otherwise leave things as they already are.
Attachments (1)
Change History (7)
#2
@
9 years ago
- Keywords good-first-bug added
- Owner set to iandunn
- Status changed from new to assigned
#6
in reply to:
↑ 5
@
9 years ago
Replying to iandunn:
Thanks rclilly :)
While I was reviewing this, I realized that there's a better way to handle back-compat issues like this, so r2092 introduces
wcorg_skip_feature()
, rather than using filters like we have in the past. I also created #1403 to convert the existing filters to use it.
Thanks Ian!
Previous discussion: https://wordpress.slack.com/archives/meta-wordcamp/p1445813064000033