Remove remove_edit_plugin_link(). Rely on cap checks. see #11644

git-svn-id: https://develop.svn.wordpress.org/trunk@12902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-01-29 19:29:31 +00:00
parent 1f8632249d
commit 402b998100
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;
?>