Make WordPress Core

Ticket #25422: 25422.diff

File 25422.diff, 1.1 KB (added by johnbillion, 10 years ago)
  • wp-admin/plugins.php

    diff --git wp-admin/plugins.php wp-admin/plugins.php
    index c371b64..abb2a88 100644
    if ( $action ) { 
    272272                                                foreach ( $plugin_info as $plugin ) {
    273273                                                        if ( $plugin['is_uninstallable'] ) {
    274274                                                                /* translators: 1: plugin name, 2: plugin author */
    275                                                                 echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '</li>';
     275                                                                echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)' ), esc_html($plugin['Name']), $plugin['AuthorName'] ), '</li>';
    276276                                                                $data_to_delete = true;
    277277                                                        } else {
    278278                                                                /* translators: 1: plugin name, 2: plugin author */
    279                                                                 echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '</li>';
     279                                                                echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), esc_html($plugin['Name']), $plugin['AuthorName'] ), '</li>';
    280280                                                        }
    281281                                                }
    282282                                                ?>