WordPress.org

Make WordPress Core

Ticket #11554: 11554.2.patch

File 11554.2.patch, 635 bytes (added by ocean90, 3 years ago)
  • wp-includes/general-template.php

     
    11461146 
    11471147        /* translators: Calendar caption: 1: month name, 2: 4-digit year */ 
    11481148        $calendar_caption = _x('%1$s %2$s', 'calendar caption'); 
    1149         $calendar_output = '<table id="wp-calendar" summary="' . esc_attr__('Calendar') . '"> 
     1149        $calendar_output = '<table id="wp-calendar"> 
    11501150        <caption>' . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . '</caption> 
    11511151        <thead> 
    11521152        <tr>';