WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #49711, comment 11


Ignore:
Timestamp:
05/05/2020 02:14:33 PM (12 months ago)
Author:
samful
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49711, comment 11

    v1 v2  
    1313* I've tried to follow existing file structure and naming, but if anyone can check it before the patch goes live then that would be ideal.
    1414
    15 * Regarding the Customizer I'm afraid i know less that you do  about this. I tried looking at what is going on and it seems like the javascript function   {{{twentyTwentyGenerateColorA11yPreviewStyles()}}} is generating a CSS file on the fly, but I am unsure how we can do what I did in PHP in javascript...
    16 
    17 * On another note, I've never seen a Customizer color change reflected live in widgets or blocks on the fly before. I think this feature would be nice, but is it essential? If so, do you know anyone who can advise on this?
     15* Regarding the Customizer I'm afraid i know less that you do  about this. I tried looking at what is going on and it seems like the javascript function   {{{twentyTwentyGenerateColorA11yPreviewStyles()}}} is generating a CSS file on the fly, but I am unsure how we can do what I did in PHP in javascript... do you know anyone who can advise on this?
    1816
    1917Many thanks.