PluginProbe
Meow Gallery / 4.2.2
Meow Gallery v4.2.2
5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0 5.4.9 5.4.8 5.4.7 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 All 157 releases
← All changes | common/ratings.php +3 -3 4.2.5 → 4.2.2 View file →
@@ -30,11 +30,11 @@
30 30
31 31 function create_rating_date() {
32 32 $rating_date = get_option( $this->prefix . '_rating_date' );
33 33 if ( empty( $rating_date ) ) {
34 - $two_weeks = strtotime( '+2 weeks' );
35 - $three_weeks = strtotime( '+3 weeks' );
36 - $rating_date = mt_rand( $two_weeks, $three_weeks );
34 + $two_months = strtotime( '+2 months' );
35 + $six_months = strtotime( '+4 months' );
36 + $rating_date = mt_rand( $two_months, $six_months );
37 37 update_option( $this->prefix . '_rating_date', $rating_date, false );
38 38 }
39 39 return $rating_date;
40 40 }