From f0c91f4ba240a3ad0601ea9bba1d3290def4a315 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 13 Feb 2010 10:46:38 +0000 Subject: [PATCH] Fix arg order in [13104] git-svn-id: http://svn.automattic.com/wordpress/trunk@13107 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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') . ''; }