Title: saenrl's Replies | WordPress.org

---

# saenrl

  [  ](https://wordpress.org/support/users/saenrl/)

 *   [Profile](https://wordpress.org/support/users/saenrl/)
 *   [Topics Started](https://wordpress.org/support/users/saenrl/topics/)
 *   [Replies Created](https://wordpress.org/support/users/saenrl/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/saenrl/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/saenrl/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/saenrl/engagements/)
 *   [Favorites](https://wordpress.org/support/users/saenrl/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Broken images for Stars Crystal](https://wordpress.org/support/topic/broken-images-for-stars-crystal/)
 *  [saenrl](https://wordpress.org/support/users/saenrl/)
 * (@saenrl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/broken-images-for-stars-crystal/#post-11086697)
 * [@gamerz](https://wordpress.org/support/users/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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Broken images for Stars Crystal](https://wordpress.org/support/topic/broken-images-for-stars-crystal/)
 *  [saenrl](https://wordpress.org/support/users/saenrl/)
 * (@saenrl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/broken-images-for-stars-crystal/#post-11086552)
 * [@gamerz](https://wordpress.org/support/users/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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Broken images for Stars Crystal](https://wordpress.org/support/topic/broken-images-for-stars-crystal/)
 *  [saenrl](https://wordpress.org/support/users/saenrl/)
 * (@saenrl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/broken-images-for-stars-crystal/#post-11085970)
 * 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 7 years, 8 months ago by [saenrl](https://wordpress.org/support/users/saenrl/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PostRatings] Wp-Postratings onmouseover and onmouseout not working?](https://wordpress.org/support/topic/wp-postratings-onmouseover-and-onmouseout-not-working/)
 *  [saenrl](https://wordpress.org/support/users/saenrl/)
 * (@saenrl)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/wp-postratings-onmouseover-and-onmouseout-not-working/#post-11077676)
 * 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 7 years, 8 months ago by [saenrl](https://wordpress.org/support/users/saenrl/).
      Reason: fixing formating

Viewing 4 replies - 1 through 4 (of 4 total)