Ticket #12801: 12801.patch
File 12801.patch, 1.1 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-plugins-list-table.php
305 305 306 306 // preorder 307 307 $actions = array( 308 'info' => '', 308 309 'deactivate' => '', 309 310 'activate' => '', 310 311 'edit' => '', … … 336 337 else 337 338 $is_active = is_plugin_active( $plugin_file ); 338 339 340 include_once ( ABSPATH . 'wp-admin/includes/plugin-install.php' ); 341 342 $api = plugins_api('plugin_information', array( "slug" => wp_unslash(plugin_dir_path($plugin_file))) ); 343 $actions['info'] = '<a href="' . self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $api->slug . '&TB_iframe=true&width=600&height=550' ) . '" class="thickbox" title="' .esc_attr( sprintf( __( 'More information about %s' ), $plugin_data['Name'] ) ) . '">' . __( 'Info' ) . '</a>'; 344 339 345 if ( $screen->in_admin( 'network' ) ) { 340 346 if ( $is_active ) { 341 347 if ( current_user_can( 'manage_network_plugins' ) )