[wp-trac] [WordPress Trac] #16614: Allow blog privacy to be set in wp_config.php

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 7 02:19:38 UTC 2011


#16614: Allow blog privacy to be set in wp_config.php
-------------------------+------------------------------
 Reporter:  kanuck54     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.1
 Severity:  normal       |  Resolution:
 Keywords:  close        |
-------------------------+------------------------------
Changes (by mikeschinkel):

 * cc: mikeschinkel@… (added)


Comment:

 Replying to [comment:4 kanuck54]:
 > My main issue with that solution is that `wp-content/` is typically
 synched between live and dev environments; so ultimately, if I write a
 theme function or a plug-in, it's going to have to look at a constant
 defined in each config file anyway.
 >
 > And should my plug-in or theme wind up deactivated during a live-to-dev
 migration, the worst case scenario is that I could potentially have a
 broken dev site being indexed by a search engine.

 @kanuck54 - As a way to handle what you need you might consider using the
 plugin I published '''[http://wordpress.stackexchange.com/questions/119
 /easily-move-a-wordpress-install-from-development-to-production/182#182
 here]'''. With it you could add a `'blog_public'` element and a hook for
 the one-click webhost migration to assign the setting the proper value for
 each applicable specific webhost.  When I get a chance I might even add
 that into my next update of the plugin.

 If you need help getting it set up feel free to contact me; you can find
 my contact info on the site where I posted the plugin.

 Hope this helps.

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


More information about the wp-trac mailing list