WordPress.org

Make WordPress Core

Ticket #15205: 15205.2.diff

File 15205.2.diff, 1.8 KB (added by JustinSainton, 6 years ago)
  • wp-admin/options-reading.php

     
    8080?>
    8181<table class="form-table">
    8282<tr valign="top">
    83 <th scope="row"><?php _e( 'Front page displays' ); ?></th>
    84 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page 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>
    8585        <p><label>
    8686                <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
    8787                <?php _e( 'Your latest posts' ); ?>
     
    9393        </label>
    9494        </p>
    9595<ul>
    96         <li><label for="page_on_front"><?php printf( __( 'Front page: %s' ), wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __( '&mdash; Select &mdash;' ), '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' => __( '&mdash; Select &mdash;' ), 'option_none_value' => '0', 'selected' => get_option( 'page_on_front' ) ) ) ); ?></label></li>
    9797        <li><label for="page_for_posts"><?php printf( __( 'Posts page: %s' ), wp_dropdown_pages( array( 'name' => 'page_for_posts', 'echo' => 0, 'show_option_none' => __( '&mdash; Select &mdash;' ), 'option_none_value' => '0', 'selected' => get_option( 'page_for_posts' ) ) ) ); ?></label></li>
    9898</ul>
    9999<?php if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) == get_option( 'page_on_front' ) ) : ?>