Changes between Initial Version and Version 1 of Ticket #38172, comment 8
- Timestamp:
- 09/29/2016 07:39:25 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38172, comment 8
initial v1 10 10 > Could you add an example implementation that a theme would use? How are things like height/width enforced? 11 11 12 Right – do you have any suggestions for how best to handle back compat? 12 Right – do you have any suggestions for how best to handle back compat? I have an experimental branch of Twenty Seventeen going for this: https://github.com/davidakennedy/twentyseventeen/tree/vheader 13 14 And: https://github.com/davidakennedy/twentyseventeen/blob/vheader/inc/custom-header.php 15 16 Calling the function here: 17 18 https://github.com/davidakennedy/twentyseventeen/blob/vheader/components/header/header-image.php 13 19 14 20 > In terms of feedback about the patch: We shouldn't introduce new constants for jit theme support, it's a new feature. I saw a few formatting issues but those are minor. Fleshing out the API will take a bit more work.