WordPress.org

Make WordPress Core

Ticket #42468: 42468.diff

File 42468.diff, 548 bytes (added by birgire, 4 years ago)
  • src/wp-admin/includes/template.php

    diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
    index e7b3a2d..d6d8201 100644
    function _post_states( $post ) { 
    18831883
    18841884        if ( 'page' === get_option( 'show_on_front' ) ) {
    18851885                if ( intval( get_option( 'page_on_front' ) ) === $post->ID ) {
    1886                         $post_states['page_on_front'] = __( 'Front Page' );
     1886                        $post_states['page_on_front'] = __( 'Homepage' );
    18871887                }
    18881888
    18891889                if ( intval( get_option( 'page_for_posts' ) ) === $post->ID ) {