Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @gamerz Well, I can’t tell you how they managed that cause I’m just the poor guy now tasked with upgrading the blog (and learning wordpress along the way…).

    I’m just going to change the file and be done with it.

    @gamerz well maybe YOU have but the blog I’m currently supporting hasn’t ??

    Also people might add their own images with a special character in their name, so imho the better solution is to use a method that escapes special characters instead of removing them.

    Similar issue here that’s mostlikely also linked to sanitize_file_name. When trying to use stars(png) as name of the ratings folder it is saved as starspng. Of course this directory doesn’t exist, meaning the image alt text is displayed instead.

    • This reply was modified 6 years, 2 months ago by saenrl.

    Hi everyone,
    I’m running into this exact problem when running the blog I’m maintaining in a local environment (with Docker).

    
    ReferenceError: current_rating is not defined
    onmouseover https://localhost/postId/postName/:1:1
    

    Same error happening with a ratings_off function.

    On a different note: There seems to be some trouble with image filenames that contain parenthesis. When trying to use stars(png) as ratings image name it is saved as starspng. Of course this directory doesn’t exist, meaning the image alt text is displayed instead.

    Last side note: When setting a different ratings image is it really necessary to reset the templates as well? This makes testing rather tedious imo.

    • This reply was modified 6 years, 2 months ago by saenrl. Reason: fixing formating
Viewing 4 replies - 1 through 4 (of 4 total)