Forums

[Plugin: Simpler CSS] problems on a windows host (3 posts)

  1. Ovidiu
    Member
    Posted 3 years ago #

    moved from a linux based host onto a windows based one and now getting this error:

    ´PHP Warning: htmlspecialchars() expects at most 3 parameters, 4 given in C:\Domains\mydomain.com\wwwroot\wp-content\plugins\simpler-css\simpler-css.php on line 67 ´

    http://wordpress.org/extend/plugins/simpler-css/

  2. Frederick D.
    Member
    Posted 3 years ago #

    Hi Ovidiu,

    The 4th parameter in htmlspecialchars() is a boolean flag to re-encode entities that are already encoded. However, this flag only exists on PHP versions 5.2.3 and above.

    I’ve just realized that I made a foolish mistake by using it, since I was setting it to FALSE anyways (the default value). I am pushing out a maintenance version today to fix this bug, and to update compatibility to 3.0-alpha.

    Regards,
    Frederick Ding

  3. Ovidiu
    Member
    Posted 3 years ago #

    thanks for fixing it with the new version.

Topic Closed

This topic has been closed to new replies.

About this Topic