diff --git src/wp-admin/includes/template-functions.php src/wp-admin/includes/template-functions.php
index 7860f19..e9b3000 100644
|
|
|
function _post_states($post) { |
| 1631 | 1631 | $post_states['scheduled'] = __( 'Scheduled' ); |
| 1632 | 1632 | } |
| 1633 | 1633 | |
| 1634 | | if ( get_option( 'page_on_front' ) == $post->ID ) { |
| 1635 | | $post_states['page_on_front'] = __( 'Front Page' ); |
| 1636 | | } |
| | 1634 | if ( 'page' === get_option( 'show_on_front' ) ) { |
| | 1635 | if ( intval( get_option( 'page_on_front' ) ) === $post->ID ) { |
| | 1636 | $post_states['page_on_front'] = __( 'Front Page' ); |
| | 1637 | } |
| 1637 | 1638 | |
| 1638 | | if ( get_option( 'page_for_posts' ) == $post->ID ) { |
| 1639 | | $post_states['page_for_posts'] = __( 'Posts Page' ); |
| | 1639 | if ( intval( get_option( 'page_for_posts' ) ) === $post->ID ) { |
| | 1640 | $post_states['page_for_posts'] = __( 'Posts Page' ); |
| | 1641 | } |
| 1640 | 1642 | } |
| 1641 | 1643 | |
| 1642 | 1644 | /** |