180 | | <th scope="row"><?php _e( 'Privacy' ); ?></th> |
181 | | <td colspan="2"><label><input type="checkbox" name="blog_public" id="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow search engines to index this site' ); ?></label></td> |
| 180 | <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th> |
| 181 | <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend> |
| 182 | <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> |
| 183 | <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> /> |
| 184 | <label for="blog-public"><?php _e( 'Allow search engines to index this site' );?></label><br/> |
| 185 | <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( 0, $blog_public ); ?> /> |
| 186 | <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label> |
| 187 | <p class="description"><?php _e( 'Note: Neither of these options blocks access to your site — it is up to search engines to honor your request.' ); ?></p> |
| 188 | <?php |
| 189 | /** This action is documented in wp-admin/options-reading.php */ |
| 190 | do_action( 'blog_privacy_selector' ); |
| 191 | ?> |
| 192 | <?php else : ?> |
| 193 | <label for="blog_public"><input name="blog_public" type="checkbox" id="blog_public" value="0" <?php checked( 0, $blog_public ); ?> /> |
| 194 | <?php _e( 'Discourage search engines from indexing this site' ); ?></label> |
| 195 | <p class="description"><?php _e( 'It is up to search engines to honor this request.' ); ?></p> |
| 196 | <?php endif; ?> |
| 197 | </fieldset></td> |