[wp-trac] [WordPress Trac] #24138: Add Constant control for Multisite.

WordPress Trac noreply at wordpress.org
Sat Apr 20 01:34:02 UTC 2013


#24138: Add Constant control for Multisite.
-------------------------+------------------------------
 Reporter:  krembo99     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Multisite    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by Ipstenu):

 Nested ifs. Where and how you define them is the magic sauce :)

 {{{
 if ( $blog_id == 2 ) { define('EMPTY_TRASH_DAYS', 1 ); }
 }}}

 Which actually you could do in the wp-config, IIRC, and have a graceful
 fallback if not defined. I see people do that for having multiple blogs
 with different settings in one wp-config.php (stored outside of root) all
 the time. It's weird, but cool.

 Sounds like a pretty awesome Multisite Plugin, actually. Most people who
 run a network assume they know better (and care more) about DB things than
 the people on the network (and they're probably right). So leaving the
 Super Admin to be the one who decides what's what is sensible.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24138#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list