Forums
Home / Plugins / [Plugin:WP-PostRatings] Prevent Rating Unpublished Posts?
(@justbishop)
14 years ago
The title pretty much says it all, but to explain a bit more in depth, users can preview their own pending and draft posts and rate them, and it’s causing unpublished posts to show up in the widget :/
Figured out some sort of solution! I just plugged “is_preview” in place of “is_home” in the fix on the plugin author’s support forms:
http://forums.lesterchan.net/index.php/topic,4563.0.html
Now the rating stars are still visible in the preview, but they do not “light up” or register a click 🙂