Make WordPress Core

Ticket #36410: 36410.2.patch

File 36410.2.patch, 1.1 KB (added by dimadin, 9 years ago)
  • wp-admin/update-core.php

     
    281281                }
    282282
    283283                $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin_data->update->slug . '&section=changelog&TB_iframe=true&width=640&height=662');
    284                 $details_name = sprintf( '<span class="screen-reader-text">%1$s</span>', esc_attr( $plugin_data->Name ) );
    285                 /* translators: 1: Plugin name 2: Plugin version */
    286                 $details_text = sprintf( __( 'View %1$s version %2$s details.' ), $details_name, $plugin_data->update->new_version );
     284                /* translators: 1: Plugin name (visible only to screen readers) 2: Plugin version */
     285                $details_text = sprintf( __( 'View <span class="screen-reader-text">%1$s</span> version %2$s details.' ), esc_attr( $plugin_data->Name ), $plugin_data->update->new_version );
    287286                $details = sprintf( '<a href="%1$s" class="thickbox open-plugin-details-modal">%2$s</a>', esc_url( $details_url ), $details_text );
    288287                $checkbox_id =  "checkbox_" . md5( $plugin_data->Name );
    289288                ?>