Changeset 3548 for trunk/wp-admin/install.php
- Timestamp:
- 02/18/2006 07:40:43 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r3517 r3548 108 108 <td><input name="admin_email" type="text" id="admin_email" size="25" /></td> 109 109 </tr> 110 <tr> 111 <th scope="row" valign="top"> <?php __('Privacy:'); ?></th> 112 <td><label><input type="checkbox" name="blog_public" value="1" checked="checked" /> <?php _e('I would like my blog to appear in search engines like Google and Technorati.'); ?></label></td> 113 </tr> 110 114 </table> 111 115 <p><em><?php _e('Double-check that email address before continuing.'); ?></em></p> … … 122 126 $weblog_title = stripslashes($_POST['weblog_title']); 123 127 $admin_email = stripslashes($_POST['admin_email']); 128 $public = (int) $_POST['blog_public']; 124 129 // check e-mail address 125 130 if (empty($admin_email)) { … … 145 150 update_option('blogname', $weblog_title); 146 151 update_option('admin_email', $admin_email); 152 update_option('blog_public', $public); 153 // If not a public blog, don't ping. 154 if ( ! $public ) 155 update_option('default_pingback_flag', 0); 147 156 148 157 // Now drop in some default links
Note: See TracChangeset
for help on using the changeset viewer.