Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#29499 closed defect (bug) (invalid)

Default value incorrect for upload_space_check_disabled

Reported by: danielbachhuber's profile danielbachhuber Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: multisite Cc:

Description

End of the day for me, but I want to file this at least because I keep seeing it:

  1. Dashboard widget indicates I have 100 MB cap on my site: https://dl.dropboxusercontent.com/s/an2w9ffdttb5fom/2014-09-03%20at%208.01%20PM%20%281%29.png?dl=0
  2. However, the network setting is unchecked: https://dl.dropboxusercontent.com/s/p82pkpenn1hy1ez/2014-09-03%20at%208.02%20PM.png?dl=0
  3. However, the database value is an empty string: https://dl.dropboxusercontent.com/s/9finxuj7sbfpl0t/2014-09-03%20at%208.03%20PM.png?dl=0

Change History (2)

#1 @danielbachhuber
9 years ago

  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

I think the commonality is that these sites are being installed via WP-CLI, and populate_network() thinks it's already multisite here:

'upload_space_check_disabled' => is_multisite() ? get_site_option( 'upload_space_check_disabled' ) : '1',
Note: See TracTickets for help on using tickets.