[wp-trac] [WordPress Trac] #39763: W3C Error with get_calendar()

WordPress Trac noreply at wordpress.org
Tue Feb 25 20:28:43 UTC 2020


#39763: W3C Error with get_calendar()
-------------------------------------------------+-------------------------
 Reporter:  Harry Milatz                         |       Owner:
                                                 |  isabel_brison
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  General                              |     Version:  4.7.2
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  good-first-bug has-patch needs-dev-  |     Focuses:  ui,
  note has-screenshots commit                    |  accessibility
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47374" 47374]:
 {{{
 #!CommitTicketReference repository="" revision="47374"
 General: Introduce HTML classes in `get_calendar()` for easier CSS
 targeting:

 * `.wp-calendar-table` for the `<table>` element.
 * `.wp-calendar-nav` for the navigation wrapper.
 * `.wp-calendar-nav-prev` for the previous month link.
 * `.wp-calendar-nav-next` for the next month link.

 Replace `#prev` and `#next` HTML IDs with `.wp-calendar-nav-prev` and
 `.wp-calendar-nav-next` classes.

 Props sabernhardt, BackuPs, audrasjb, jorbin.
 Fixes #39763.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39763#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list