From 470304e2c617b12e467f44d1b050196bdb632a3d Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 1 Nov 2010 19:14:03 +0000 Subject: [PATCH] Add edit theme links. Props PeteMall. see #14897 git-svn-id: http://svn.automattic.com/wordpress/trunk@16140 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-ms-themes-list-table.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index ee030ca233..3b421e883e 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -244,10 +244,8 @@ class WP_MS_Themes_List_Table extends WP_List_Table { $actions['network_disable'] = '' . __('Disable') . ''; } - /* @todo link to theme editor if ( current_user_can('edit_themes') ) - $actions['edit'] = '' . __('Edit') . ''; - */ + $actions['edit'] = '' . __('Edit') . ''; $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme_key, $theme, $context ); $actions = apply_filters( "theme_action_links_$theme_key", $actions, $theme_key, $theme, $context );