PluginProbe
Polylang / 2.8
Polylang v2.8
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | include/widget-calendar.php +1 -1 3.0.32.8 View file →
@@ -103,9 +103,9 @@
103 103 $week_begins = (int) get_option( 'start_of_week' );
104 104
105 105 // Let's figure out when we are.
106 106 if ( ! empty( $monthnum ) && ! empty( $year ) ) {
107 - $thismonth = zeroise( (int) $monthnum, 2 );
107 + $thismonth = zeroise( intval( $monthnum ), 2 );
108 108 $thisyear = (int) $year;
109 109 } elseif ( ! empty( $w ) ) {
110 110 // We need to get the month from MySQL.
111 111 $thisyear = (int) substr( $m, 0, 4 );