[wp-trac] [WordPress Trac] #44056: Fix markup for table of contents on privacy policy guide

WordPress Trac noreply at wordpress.org
Sat May 12 14:30:14 UTC 2018

#44056: Fix markup for table of contents on privacy policy guide
 Reporter:  ocean90            |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  4.9.6
Component:  Administration     |    Version:  trunk
 Severity:  normal             |   Keywords:  needs-patch gdpr
  Focuses:  ui, accessibility  |
 There are a few issues with current ToC:

 1. The Introduction link has an empty anchor. It should have a specific
 one just like the others:
 2. Instead of the empty anchor tag the ID can be directly assigned to the
 headline: https://core.trac.wordpress.org/browser/trunk/src/wp-
 3. The date format should be consistent across the admin, see [35811].
 `get_option( 'date_format' )` needs to be replaced:
 4. The ToC IDs are not guaranteed to be unique on the page. I suggest to
 prefix them with `policy-<plugin name>` or something else:

Ticket URL: <https://core.trac.wordpress.org/ticket/44056>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list