Ticket #39763: 39763.4.diff
File 39763.4.diff, 1.7 KB (added by , 5 years ago) |
---|
-
src/wp-includes/general-template.php
2238 2238 2239 2239 $calendar_output .= "\n\t</table>"; 2240 2240 2241 $calendar_output .= '<nav aria-label="' . __( 'Previous and next months' ) . '" >';2241 $calendar_output .= '<nav aria-label="' . __( 'Previous and next months' ) . '" class="wp-calendar-months">'; 2242 2242 2243 2243 if ( $previous ) { 2244 $calendar_output .= "\n\t\t" . '<span id="prev" ><a href="' . get_month_link( $previous->year, $previous->month ) . '">« ' .2244 $calendar_output .= "\n\t\t" . '<span id="prev" class="wp-calendar-previous-month"><a href="' . get_month_link( $previous->year, $previous->month ) . '">« ' . 2245 2245 $wp_locale->get_month_abbrev( $wp_locale->get_month( $previous->month ) ) . 2246 2246 '</a></span>'; 2247 2247 } else { 2248 $calendar_output .= "\n\t\t" . '<span id="prev" > </span>';2248 $calendar_output .= "\n\t\t" . '<span id="prev" class="wp-calendar-previous-month"> </span>'; 2249 2249 } 2250 2250 2251 2251 $calendar_output .= "\n\t\t" . '<span class="pad"> </span>'; 2252 2252 2253 2253 if ( $next ) { 2254 $calendar_output .= "\n\t\t" . '<span id="next" ><a href="' . get_month_link( $next->year, $next->month ) . '">' .2254 $calendar_output .= "\n\t\t" . '<span id="next" class="wp-calendar-next-month"><a href="' . get_month_link( $next->year, $next->month ) . '">' . 2255 2255 $wp_locale->get_month_abbrev( $wp_locale->get_month( $next->month ) ) . 2256 2256 ' »</a></span>'; 2257 2257 } else { 2258 $calendar_output .= "\n\t\t" . '<span id="next" class=" pad"> </span>';2258 $calendar_output .= "\n\t\t" . '<span id="next" class="wp-calendar-next-month"> </span>'; 2259 2259 } 2260 2260 2261 2261 $calendar_output .= '