From a93c96ef98ade1cd2f4ead9a6bb43fd98892b11f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 13 Feb 2010 10:46:38 +0000 Subject: [PATCH] Fix arg order in [13104] git-svn-id: https://develop.svn.wordpress.org/trunk@13107 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 37a41ada7d..f63eec34f3 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1366,7 +1366,7 @@ function _post_row($a_post, $pending_comments, $mode) { } if ( in_array($post->post_status, array('pending', 'draft')) ) { if ( current_user_can($post_type_object->edit_cap, $post->ID) ) - $actions['view'] = '' . __('Preview') . ''; + $actions['view'] = '' . __('Preview') . ''; } elseif ( 'trash' != $post->post_status ) { $actions['view'] = '' . __('View') . ''; } @@ -1588,7 +1588,7 @@ foreach ( $posts_columns as $column_name => $column_display_name ) { } if ( in_array($post->post_status, array('pending', 'draft')) ) { if ( current_user_can($post_type_object->edit_cap, $page->ID) ) - $actions['view'] = '' . __('Preview') . ''; + $actions['view'] = '' . __('Preview') . ''; } elseif ( $post->post_status != 'trash' ) { $actions['view'] = '' . __('View') . ''; }