[wp-trac] [WordPress Trac] #61029: Multisite state 'Delete' can only have a value of 1or 0. Not 2. So why is 2 mentioned in the code?

WordPress Trac noreply at wordpress.org
Tue Aug 26 20:49:49 UTC 2025


#61029: Multisite state 'Delete' can only have a value of 1or 0. Not 2. So why is 2
mentioned in the code?
--------------------------------+-------------------------
 Reporter:  ignatiusjeroe       |       Owner:  (none)
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:  worksforme
 Keywords:                      |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 While there is no default UI for assigning this value, injecting via
 filter is the only way to use the `blog-inactive.php` drop-in. I imagine a
 handful of larger multisites have taken advantage of this over the years.

 I'm going to close as worksforme. It's nice to have this ticket here as
 documentation.

 I'm also on the fence as to whether we should document this inline. That
 could be an option too if someone is inspired to write a concise
 explanation. Feel free to reopen if so. :)

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


More information about the wp-trac mailing list