Changes from branches/2.8/wp-admin/install.php at r11833 to trunk/wp-admin/install.php at r11393
- File:
-
- 1 edited
-
trunk/wp-admin/install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r11833 r11393 50 50 51 51 function display_setup_form( $error = null ) { 52 // Ensure that Blogs appear in search engines by default53 $blog_public = 1;54 if ( isset($_POST) && !empty($_POST) ) {55 $blog_public = isset($_POST['blog_public']);56 }57 58 52 if ( ! is_null( $error ) ) { 59 53 ?> … … 72 66 </tr> 73 67 <tr> 74 <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked($blog_public); ?> /> <?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?></label></td>68 <td colspan="2"><label><input type="checkbox" name="blog_public" value="1"<?php if( isset($_POST) && ! empty($_POST) && isset( $_POST['blog_public'] ) ) : ?> checked="checked"<?php endif; ?> /> <?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?></label></td> 75 69 </tr> 76 70 </table>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)