Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46540, comment 7


Ignore:
Timestamp:
03/21/2019 12:34:38 AM (6 years ago)
Author:
nabil_kadimi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46540, comment 7

    initial v1  
    11> Since everything is in an external stylesheet, the only thing needed is to update the URL of the stylesheet, no?
    22
    3 I appreciate your help @westonruter, actually, the CSS is kinda dynamic (Bootstrap with **customizable variables**), before knowing the CSS, I need to know the variables, then create the CSS that uses it them and give the file a name that contains these variables md5 (for unicity).
     3I appreciate your help @westonruter, actually, the CSS is kinda dynamic (Bootstrap with **customizable variables**), before knowing the CSS, I need to know the variables, then create the CSS that uses them and give the file a name that contains these variables md5 (for unicity).
    44
    55I tried passing the variables using code similar to yours with AJAX in it, unhappily, the AJAX response was always -1 and I was not able to get the new CSS link using that method, from there I moved to `selective_refresh` where I had that error with the the admin bar CSS, then finally I reverted to `refresh`.