[wp-trac] [WordPress Trac] #35391: Remove title attributes: the Posts Date column full date and time

WordPress Trac noreply at wordpress.org
Wed May 20 14:38:25 UTC 2020


#35391: Remove title attributes: the Posts Date column full date and time
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.5
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots title-attribute      |     Focuses:  ui,
  tooltips has-patch commit                      |  accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  has-screenshots title-attribute tooltips has-patch needs-
     refresh => has-screenshots title-attribute tooltips has-patch commit


Comment:

 [attachment:"35391.diff"] updates the patch accordingly to comment:17 and
 comment:19.

 - the date/time format is now the same as the one of the comments: `{post
 date} at {post time}`
 - added bonus: the string `__( '%1$s at %2$s' )` is already translated
 - removed the seconds: the default time format is now `g:i a`, note that
 this may change based on the user locale

 See attached screenshot of the List view and the Excerpt view (they use
 the same date/time format).

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


More information about the wp-trac mailing list