Changeset 8202 for trunk/wp-admin/install.php
- Timestamp:
- 06/26/2008 10:39:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r8139 r8202 54 54 <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" checked="checked" /> <?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?></label></td> 55 55 </tr> 56 <tr>57 <td colspan="2"><label><input type="checkbox" name="enable_remotepublishing" value="0" /> <?php _e('Enable remote publishing using the WordPress, Movable Type, MetaWeblog, Blogger and Atom publishing protocols for my blog.'); ?></label></td>58 </tr>59 </table>60 56 </table> 61 57 <input type="submit" name="Submit" value="<?php _e('Install WordPress'); ?>" class="button" /> … … 73 69 $admin_email = stripslashes($_POST['admin_email']); 74 70 $public = (int) $_POST['blog_public']; 75 $remote = (int) $_POST['enable_remotepublishing'];76 71 // check e-mail address 77 72 if (empty($admin_email)) { … … 84 79 85 80 $wpdb->show_errors(); 86 $result = wp_install($weblog_title, 'admin', $admin_email, $public , $remote);81 $result = wp_install($weblog_title, 'admin', $admin_email, $public); 87 82 extract($result, EXTR_SKIP); 88 83 ?>
Note: See TracChangeset
for help on using the changeset viewer.