[wp-trac] [WordPress Trac] #61535: human_time_diff(): Do not use abbreviations in minutes

WordPress Trac noreply at wordpress.org
Sat Jun 29 09:42:37 UTC 2024


#61535: human_time_diff(): Do not use abbreviations in minutes
--------------------------------------+-----------------------------
 Reporter:  wildworks                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  Formatting                |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by wildworks):

 Hi @SergeyBiryukov,

 Thank you for the commit.

 Looking at r58600, it seems that the singular form is now `minutes`.

 Also, I missed it, but maybe we should remove the abbreviation
 (`(min=minute)`) from the comment here as well:

 https://github.com/WordPress/wordpress-
 develop/blob/57910f67dd4ba8b1db1a5699be916ce0c805a69b/src/wp-
 includes/formatting.php#L3887

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


More information about the wp-trac mailing list