From 0f052ef6af77bfb7685211681da7317f7cc99db5 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 23 Jul 2013 15:04:55 +0000 Subject: [PATCH] Do set_url_scheme() for Preview action link in the posts list table. props reidburke, fixes #23886. git-svn-id: https://develop.svn.wordpress.org/trunk@24780 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-posts-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index f6ab106b0d..a798a2c2b9 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -596,7 +596,7 @@ class WP_Posts_List_Table extends WP_List_Table { if ( $post_type_object->public ) { if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ) ) ) { if ( $can_edit_post ) - $actions['view'] = '' . __( 'Preview' ) . ''; + $actions['view'] = '' . __( 'Preview' ) . ''; } elseif ( 'trash' != $post->post_status ) { $actions['view'] = '' . __( 'View' ) . ''; }