Viewing 5 replies - 1 through 5 (of 5 total)
  • agreed. will have to use another solution until then.

    https://github.com/leafo/scssphp/issues/146

    I tried to do it myself, but looks like code has changed, and this plugin would need altered. Can’t just swap the new code in.

    Actually I was able to get it working on the latest version from github.

    Just drop the src folder and scss.inc.php into the plugin’s scssphp/ folder.
    Then edit ./scssphp/src/Compiler.php, line 188, change to:
    $this->formatter = new Nested();
    Am unsure why this error occurs, might be php version 7 causing it.

    And on ./class/class-wp-scss.php, insert new line before class def:

    use Leafo\ScssPhp\Compiler;
    
    class Wp_Scss {

    Runs great.

    I can’t get that to work, ensemblebd

    Any ideas or any other solutions for Sass?

    @straylight: This is not your topic. If you require assistance then, as per the Forum Welcome, please post your own topic.

    Does this mean that we shouldn’t use this plugin until it’s been updated, unless we want to make the changes ensemblebd made?

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update to new version of Github’ is closed to new replies.