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

WordPress Trac noreply at wordpress.org
Wed Jan 22 02:58:58 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.4
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots title-attribute      |     Focuses:  ui,
  tooltips has-patch 2nd-opinion                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:13 audrasjb]:
 > Concening the `mode` @param tag, I'm wondering if we should use
 "Optional" (like I did in the patch) or "Deprecated", as this parameter is
 no longer needed.

 * `Optional` is not needed here, it only makes sense for function
 parameters, not for hook parameters.
 * `Deprecated` is also not needed here. Although the `$mode` global is no
 longer used in the method, it's still passed to the filter, so plugin
 authors may choose to differentiate between `'excerpt'` and `'list'`.

 Keeping the existing parameter description seems the most appropriate
 here.

 [attachment:"35391.2.diff"] expands the `@since` note and removes the
 unused `$h_time` variable.

 It's worth noting that the patch removes the short, human-readable, date
 ("1 hour ago") in favor of full date and time, which provides more
 details, but makes the list harder to scan at a glance.

 As previously noted in comment:3 and comment:7, this is not ideal. I'm not
 sure I like that either. Any ideas welcome :)

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


More information about the wp-trac mailing list