diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index c7f7688ef5..224c1e97b9 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1329,7 +1329,7 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { } if ( isset( $view_post ) ) { - if ( 'draft' == $post->post_status ) { + if ( 'draft' == $post->post_status || 'pending' == $post->post_status ) { $draft_link = set_url_scheme( get_permalink( $post->ID ) ); $preview_link = get_preview_post_link( $post, array(), $draft_link ); $return .= "$view_post\n"; diff --git a/wp-includes/version.php b/wp-includes/version.php index d111694d04..b1e43a3ddf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34323'; +$wp_version = '4.4-alpha-34324'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.