WordPress.org

Make WordPress Core

Changeset 12902


Ignore:
Timestamp:
01/29/2010 07:29:31 PM (10 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r12858 r12902  
    10181018    }
    10191019}
    1020 
    1021 function remove_edit_plugin_link( $action_links, $plugin_file, $plugin_data, $context ) {
    1022     foreach( $action_links as $t => $link ) {
    1023         if ( !strpos( $link, __( "Open this file in the Plugin Editor" ) ) )
    1024             $links[ $t ] = $link;
    1025     }
    1026     return $links;
    1027 }
    1028 add_filter( 'plugin_action_links', 'remove_edit_plugin_link', 10, 4 );
    10291020
    10301021function choose_primary_blog() {
Note: See TracChangeset for help on using the changeset viewer.