From 2ceb9f8150c3fe3a1b3087fffb76bf0cd1cc347f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 1 Nov 2010 19:14:03 +0000 Subject: [PATCH] Add edit theme links. Props PeteMall. see #14897 git-svn-id: https://develop.svn.wordpress.org/trunk@16140 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 );