[wpmu-trac] Re: [WordPress MU Trac] #532: New blogs are set to
private
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sun Feb 24 01:28:41 GMT 2008
#532: New blogs are set to private
------------------------+---------------------------------------------------
Reporter: drmiketemp | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone: WPMU 1.0
Component: component1 | Version: 1.0
Severity: major | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by phoenixrises):
Confirmed in r1200.
As mentioned by ayao.
{{{
if( is_array($meta) ) {
foreach( $meta as $key => $value) {
update_blog_status( $blog_id, $key, $value );
update_blog_option( $blog_id, $key, $value );
}
update_blog_option( $blog_id, 'blog_public', $meta['public'] );
delete_blog_option( $blog_id, 'public' );
}
}}}
Tested for blog signups specifying public and not public as well as
through "Site Admin".
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/532#comment:15>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list