File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -2310,9 +2310,9 @@ function get_calendar( $args = array() ) {
23102310 * from generating a different key from the same values in the reverse order.
23112311 *
23122312 * `display` is excluded from the cache key as the cache contains the same
2313- * HTML regardless of this functions need to echo or return the output.
2313+ * HTML regardless of this function's need to echo or return the output.
23142314 *
2315- * The global values contain data generated by the URL querystring variables.
2315+ * The global values contain data generated by the URL query string variables.
23162316 */
23172317 $ cache_args = $ args ;
23182318 unset( $ cache_args ['display ' ] );
@@ -2497,11 +2497,13 @@ function get_calendar( $args = array() ) {
24972497 if ( isset ( $ newrow ) && $ newrow ) {
24982498 $ calendar_output .= "\n\t</tr> \n\t<tr> \n\t\t" ;
24992499 }
2500+
25002501 $ newrow = false ;
25012502
2502- if ( (int ) current_time ( 'j ' ) === $ day &&
2503- (int ) current_time ( 'm ' ) === $ thismonth &&
2504- (int ) current_time ( 'Y ' ) === $ thisyear ) {
2503+ if ( (int ) current_time ( 'j ' ) === $ day
2504+ && (int ) current_time ( 'm ' ) === $ thismonth
2505+ && (int ) current_time ( 'Y ' ) === $ thisyear
2506+ ) {
25052507 $ calendar_output .= '<td id="today"> ' ;
25062508 } else {
25072509 $ calendar_output .= '<td> ' ;
You can’t perform that action at this time.
0 commit comments