From 227168b6391946e07fe5e07a78141b0e7bbf8d6d Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 29 Jan 2010 19:29:31 +0000 Subject: [PATCH] Remove remove_edit_plugin_link(). Rely on cap checks. see #11644 git-svn-id: http://svn.automattic.com/wordpress/trunk@12902 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ms.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 846e7522d2..bfb011c2b4 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -1018,15 +1018,6 @@ function check_wpmu_plugins_on_bulk_activate( $plugins ) { } } -function remove_edit_plugin_link( $action_links, $plugin_file, $plugin_data, $context ) { - foreach( $action_links as $t => $link ) { - if ( !strpos( $link, __( "Open this file in the Plugin Editor" ) ) ) - $links[ $t ] = $link; - } - return $links; -} -add_filter( 'plugin_action_links', 'remove_edit_plugin_link', 10, 4 ); - function choose_primary_blog() { global $current_user; ?>