Changeset 47859 for trunk/src/wp-admin/options-reading.php
- Timestamp:
- 05/27/2020 02:32:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-reading.php
r47550 r47859 41 41 array( 42 42 'id' => 'site-visibility', 43 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search Engine Visibility' ),43 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site visibility' ) : __( 'Search engine visibility' ), 44 44 'content' => '<p>' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '</p>' . 45 '<p>' . __( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '</p>',45 '<p>' . __( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search engines discouraged,” to remind you that your site is not being crawled.' ) . '</p>', 46 46 ) 47 47 ); … … 176 176 177 177 <tr class="option-site-visibility"> 178 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>179 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>178 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?> </th> 179 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?> </span></legend> 180 180 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> 181 181 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> /> … … 186 186 <?php 187 187 /** 188 * Enable the legacy 'Site Visibility' privacy options.188 * Enable the legacy 'Site visibility' privacy options. 189 189 * 190 190 * By default the privacy options form displays a single checkbox to 'discourage' search … … 193 193 * 2. Open the door to adding additional radio button choices to the list. 194 194 * 195 * Hooking to this action also converts the 'Search Engine Visibility' heading to the more196 * open-ended 'Site Visibility' heading.195 * Hooking to this action also converts the 'Search engine visibility' heading to the more 196 * open-ended 'Site visibility' heading. 197 197 * 198 198 * @since 2.1.0
Note: See TracChangeset
for help on using the changeset viewer.