Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#40875 new enhancement

Add a petabyte constant

Reported by: henry.wright Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch needs-testing
Focuses: Cc:


I'm hoping I'll need to use this one day on my own site :)

define( 'PB_IN_BYTES', 1024 * TB_IN_BYTES );

On a serious note, this may now (on soon) be needed by some of the largest websites.

It's used just once in core as far as I can tell, and that's in size_format().

Attachments (1)

40875.diff (1.3 KB) - added by Presskopp 4 years ago.

Download all attachments as: .zip

Change History (4)

4 years ago

#1 @Presskopp
4 years ago

  • Keywords has-patch added

Well, the day will come for somebody..

This ticket was mentioned in Slack in #core by presskopp. View the logs.

3 years ago

#3 @flixos90
3 years ago

  • Keywords needs-testing added
  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.