[wp-trac] [WordPress Trac] #42223: Merge two similar translation strings when using get_space_allowed()

WordPress Trac noreply at wordpress.org
Mon Jan 21 04:05:21 UTC 2019


#42223: Merge two similar translation strings when using get_space_allowed()
-------------------------------------------------+-------------------------
 Reporter:  ramiy                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.2
Component:  I18N                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:  multisite
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by pento):

 * keywords:  has-patch has-screenshots => has-patch has-screenshots needs-
     refresh
 * milestone:  5.1 => 5.2


Comment:

 Instead of `%s MB`, this would probably be better if we took the return
 value of `get_space_used()`, multiply it by `MB_IN_BYTES`, and feed that
 number to `size_format()`. Given that sites have fairly large size limits
 these days, limiting it to MB is going to make for some large numbers.

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


More information about the wp-trac mailing list