diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 3e38e38333..4539f33202 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1677,13 +1677,20 @@ function _post_states($post) { if ( is_sticky($post->ID) ) $post_states['sticky'] = __('Sticky'); + if ( get_option( 'page_on_front' ) == $post->ID ) { + $post_states['page_on_front'] = __( 'Front Page' ); + } + + if ( get_option( 'page_for_posts' ) == $post->ID ) { + $post_states['page_for_posts'] = __( 'Posts Page' ); + } + /** - * Filter the default post display states used in the Posts list table. + * Filter the default post display states used in the posts list table. * * @since 2.8.0 * - * @param array $post_states An array of post display states. Values include 'Password protected', - * 'Private', 'Draft', 'Pending', and 'Sticky'. + * @param array $post_states An array of post display states. * @param int $post The post ID. */ $post_states = apply_filters( 'display_post_states', $post_states, $post ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b90dde94b2..0fdeb76a88 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31609'; +$wp_version = '4.2-alpha-31610'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.