From a5a8ae45a648f364fbcd58c4a3fb36a7a4db3fa8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 15 Sep 2015 10:32:31 +0000 Subject: [PATCH] Remove outdated references to the `preview_post_link` filter docs. See #24345 Props paulwilde Built from https://develop.svn.wordpress.org/trunk@34178 git-svn-id: http://core.svn.wordpress.org/trunk@34146 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 1 - wp-admin/includes/post.php | 1 - wp-includes/version.php | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index c4883c54be..e00536d540 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -1158,7 +1158,6 @@ class WP_Posts_List_Table extends WP_List_Table { if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ) ) ) { if ( $can_edit_post ) { $unpublished_link = set_url_scheme( get_permalink( $post ) ); - /** This filter is documented in wp-admin/includes/meta-boxes.php */ $preview_link = get_preview_post_link( $post, array(), $unpublished_link ); $actions['view'] = '' . __( 'Preview' ) . ''; } diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 66d72cb264..d3a8024fae 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1319,7 +1319,6 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { if ( isset( $view_post ) ) { if ( 'draft' == $post->post_status ) { $draft_link = set_url_scheme( get_permalink( $post->ID ) ); - /** This filter is documented in wp-admin/includes/meta-boxes.php */ $preview_link = get_preview_post_link( $post, array(), $draft_link ); $return .= "$view_post\n"; } else { diff --git a/wp-includes/version.php b/wp-includes/version.php index ee02408f74..74f7b07d16 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34177'; +$wp_version = '4.4-alpha-34178'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.