不wp-config.php
可以具有颗粒常量。像这样:
if ( \'example.com\' == $_SERVER[\'HTTP_HOST\'] )
{
define( \'WP_POST_REVISIONS\', 1 );
}
elseif ( \'blog1.example.com\' == $_SERVER[\'HTTP_HOST\'] )
{
define( \'WP_POST_REVISIONS\', 5 );
}
elseif ( \'blog2.example.com\' == $_SERVER[\'HTTP_HOST\'] )
{
define( \'WP_POST_REVISIONS\', 10 );
}