lesterchan / wp-sweep

WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
https://wordpress.org/plugins/wp-sweep/
153 stars 22 forks source link

Division by zero #3

Closed EusebiuOprinoiu closed 9 years ago

EusebiuOprinoiu commented 9 years ago

Hello, Lester! First of all I want to say congrats for creating this plugin. I played with it on a test environment and I noticed there are warnings at the Comment Sweep section when no comments exist. Warning: Division by zero in \wp-sweep\admin.php on lines 184, 202, 220, 238 and 256.

I'm also curious if you plan on adding automated sweeps like WP Optimize does.

lesterchan commented 9 years ago

Yea, I will add it in the future because it will be useful. I am closing this because it is duplicated issue of https://github.com/lesterchan/wp-sweep/issues/4 =)