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
This commit is contained in:
ryan 2010-01-29 19:29:31 +00:00
parent 19c9d0bb79
commit 227168b639
1 changed files with 0 additions and 9 deletions

View File

@ -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;
?>