Changeset 25717 for trunk/src/wp-admin/options-reading.php
- Timestamp:
- 10/07/2013 05:18:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-reading.php
r25616 r25717 151 151 <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label> 152 152 <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> 153 <?php do_action('blog_privacy_selector'); ?> 153 <?php 154 /** 155 * Enable the legacy 'Site Visibility' privacy options. 156 * 157 * By default the privacy options form displays a single checkbox to 'discourage' search 158 * engines from indexing the site. Hooking to this action serves a dual purpose: 159 * 1. Disable the single checkbox in favor of a multiple-choice list of radio buttons. 160 * 2. Open the door to adding additional radio button choices to the list. 161 * 162 * Hooking to this action also converts the 'Search Engine Visibility' heading to the more 163 * open-ended 'Site Visibility' heading. 164 * 165 * @since 2.1.0 166 */ 167 do_action( 'blog_privacy_selector' ); 168 ?> 154 169 <?php else : ?> 155 170 <label for="blog_public"><input name="blog_public" type="checkbox" id="blog_public" value="0" <?php checked( '0', get_option( 'blog_public' ) ); ?> />
Note: See TracChangeset
for help on using the changeset viewer.