Changeset 60805 for trunk/src/wp-admin/options-reading.php
- Timestamp:
- 09/28/2025 10:36:30 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/options-reading.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-reading.php
r58147 r60805 82 82 update_option( 'show_on_front', 'posts' ); 83 83 } 84 85 $your_homepage_displays_title = __( 'Your homepage displays' ); 84 86 ?> 85 87 <table class="form-table" role="presentation"> 86 88 <tr> 87 <th scope="row"><?php _e( 'Your homepage displays' ); ?></th>89 <th scope="row"><?php echo $your_homepage_displays_title; ?></th> 88 90 <td id="front-static-pages"><fieldset> 89 <legend class="screen-reader-text"><span> 90 <?php 91 /* translators: Hidden accessibility text. */ 92 _e( 'Your homepage displays' ); 93 ?> 94 </span></legend> 91 <legend class="screen-reader-text"><span><?php echo $your_homepage_displays_title; ?></span></legend> 95 92 <p><label> 96 93 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> /> … … 180 177 <td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td> 181 178 </tr> 182 <tr> 183 <th scope="row"><?php _e( 'For each post in a feed, include' ); ?> </th> 179 180 <?php $rss_use_excerpt_title = __( 'For each post in a feed, include' ); ?> 181 <tr> 182 <th scope="row"><?php echo $rss_use_excerpt_title; ?> </th> 184 183 <td><fieldset> 185 <legend class="screen-reader-text"><span> 186 <?php 187 /* translators: Hidden accessibility text. */ 188 _e( 'For each post in a feed, include' ); 189 ?> 190 </span></legend> 184 <legend class="screen-reader-text"><span><?php echo $rss_use_excerpt_title; ?></span></legend> 191 185 <p> 192 186 <label><input name="rss_use_excerpt" type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Full text' ); ?></label><br /> … … 205 199 </tr> 206 200 201 <?php $blog_privacy_selector_title = has_action( 'blog_privacy_selector' ) ? __( 'Site visibility' ) : __( 'Search engine visibility' ); ?> 207 202 <tr class="option-site-visibility"> 208 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?> </th>203 <th scope="row"><?php echo $blog_privacy_selector_title; ?> </th> 209 204 <td><fieldset> 210 <legend class="screen-reader-text"><span> 211 <?php 212 has_action( 'blog_privacy_selector' ) 213 /* translators: Hidden accessibility text. */ 214 ? _e( 'Site visibility' ) 215 /* translators: Hidden accessibility text. */ 216 : _e( 'Search engine visibility' ); 217 ?> 218 </span></legend> 205 <legend class="screen-reader-text"><span><?php echo $blog_privacy_selector_title; ?></span></legend> 219 206 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> 220 207 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> />
Note: See TracChangeset
for help on using the changeset viewer.