Wordpress/tests
Adam Silverstein f968e9d52f 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@44481 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-08 19:55:31 +00:00
..
phpunit Media: improve the human_readable_duration function and tests. 2019-01-08 19:55:31 +00:00
qunit REST API: Remove permalink_structure from the REST API settings endpoint. 2019-01-08 02:50:05 +00:00