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

WordPress Trac noreply at wordpress.org
Fri Apr 19 15:53:07 UTC 2013


#24138: Add Constant control for Multisite.
-----------------------------+-------------------------
 Reporter:  krembo99         |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Multisite
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 Not sure if this should be tagged as feature request or enhancement.

 WordPress is now making quite an extensive use of constants (like
 AUTOSAVE_INTERVAL , WP_POST_REVISIONS or EMPTY_TRASH_DAYS ) that are
 configured in wp-config.php in the form of define('EMPTY_TRASH_DAYS', 1 );
 .

 Right now, AFAIK , there is no way to define those variable on a site-to-
 site (or blog-to-blog) basis in Multisite mode.

 So for example if one wants his main blog to empty trash every 3 days,
 while another blog to be set to 5 , or even allow and enable DEBUG_MODE on
 a certain blog , while keeping it disabled in others , is not currently
 possible (again, AFAIK) .

 Now, I am not sure this should be done with constants , or with some new
 functions , or simply in some settings implementation, or even with some
 kind of a blog-based config.php for each blog ,  but it sure would be a
 necessary layer of control to have ( if indeed the Multisite feature is to
 be kept alive and expanded ..)

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


More information about the wp-trac mailing list