Ticket #15205: 15205.2.diff
File 15205.2.diff, 1.8 KB (added by , 13 years ago) |
---|
-
wp-admin/options-reading.php
80 80 ?> 81 81 <table class="form-table"> 82 82 <tr valign="top"> 83 <th scope="row"><?php _e( ' Frontpage displays' ); ?></th>84 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( ' Frontpage displays' ); ?></span></legend>83 <th scope="row"><?php _e( 'Home page displays' ); ?></th> 84 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Home page displays' ); ?></span></legend> 85 85 <p><label> 86 86 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> /> 87 87 <?php _e( 'Your latest posts' ); ?> … … 93 93 </label> 94 94 </p> 95 95 <ul> 96 <li><label for="page_on_front"><?php printf( __( ' Frontpage: %s' ), wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __( '— Select —' ), 'option_none_value' => '0', 'selected' => get_option( 'page_on_front' ) ) ) ); ?></label></li>96 <li><label for="page_on_front"><?php printf( __( 'Home page: %s' ), wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __( '— Select —' ), 'option_none_value' => '0', 'selected' => get_option( 'page_on_front' ) ) ) ); ?></label></li> 97 97 <li><label for="page_for_posts"><?php printf( __( 'Posts page: %s' ), wp_dropdown_pages( array( 'name' => 'page_for_posts', 'echo' => 0, 'show_option_none' => __( '— Select —' ), 'option_none_value' => '0', 'selected' => get_option( 'page_for_posts' ) ) ) ); ?></label></li> 98 98 </ul> 99 99 <?php if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) == get_option( 'page_on_front' ) ) : ?>