WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 16 months 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:

Description

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 2 years ago.

Download all attachments as: .zip

Change History (4)

@Presskopp
2 years ago

#1 @Presskopp
2 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.


16 months ago

#3 @flixos90
16 months ago

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