[wp-trac] [WordPress Trac] #39667: Improve showing metadata in media view
WordPress Trac
noreply at wordpress.org
Tue Jan 8 19:55:35 UTC 2019
#39667: Improve showing metadata in media view
-------------------------------------------------+-------------------------
Reporter: Presskopp | Owner:
| adamsilverstein
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch has-unit- | Focuses:
tests dev-feedback commit | accessibility
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"44481" 44481]:
{{{
#!CommitTicketReference repository="" revision="44481"
Media: improve the `human_readable_duration` function and tests.
Improve the `human_readable_duration` added in #39667:
* Remove upper limit.
* More resilient handling: remove negative prefix, trim.
* Correct @since to 5.1.0.
* Adds more test cases and improve inline docs.
Props birgire.
Fixes #39667.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39667#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list