Lester Chan

Results 118 comments of Lester Chan

Sorry, nope.

I know this plugin is too dated, if I have to redo it, I will follow the WP Coding Standards https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/ It includes strict typing as well. In the company...

When you activate the plugin, it will create the options automatically. In this case, it fails on your end? https://github.com/lesterchan/wp-postratings/blob/master/includes/postratings-activation.php#L73

I thought of it before, but I can't find a way around it because those posts are created before WP-PostRatings is being activated. The only way I can think of...

I will leave this bug open since it is a bug. Hope more people can chime in on a better way to fix it =)

Thanks, I will leave this open. I don't think I will merge it back because it requires some refactoring to avoid duplicated code.

It is done in the templates, Wp-Admin -> Rating -> Ratings Template

That is sadly a bad design I did in the past. Unfortunately, I have no time to fix it and unlikely anytime soon. So, I agree class based will be...

You can use `r_sortby ` https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L770