WordPress.org

Make WordPress Core

Ticket #53020: plugin-install.diff

File plugin-install.diff, 769 bytes (added by bmcculley, 5 months ago)
  • wp-admin/includes/plugin-install.php

     
    880880                                break;
    881881                        case 'newer_installed':
    882882                                /* translators: %s: Plugin version. */
    883                                 echo '<a class="button button-primary right disabled">' . sprintf( __( 'Newer Version (%s) Installed' ), $status['version'] ) . '</a>';
     883                                echo '<a class="button button-primary right disabled">' . sprintf( __( 'Newer Version (%s) Installed' ), esc_html($status['version']) ) . '</a>';
    884884                                break;
    885885                        case 'latest_installed':
    886886                                echo '<a class="button button-primary right disabled">' . __( 'Latest Version Installed' ) . '</a>';