WordPress.org

Make WordPress Core

Ticket #16130: deleted-themes-context.diff

File deleted-themes-context.diff, 1.1 KB (added by nbachiyski, 9 years ago)
  • wp-admin/network/themes.php

     
    204204        echo '<div id="message" class="updated"><p>' . sprintf( _n( 'Theme disabled.', '%s themes disabled.', $_GET['disabled'] ), number_format_i18n( $_GET['disabled'] ) ) . '</p></div>';
    205205} elseif ( isset( $_GET['deleted'] ) ) {
    206206        $_GET['deleted'] = absint( $_GET['deleted'] );
    207         echo '<div id="message" class="updated"><p>' . sprintf( _n( 'Theme deleted.', '%s themes deleted.', $_GET['deleted'] ), number_format_i18n( $_GET['deleted'] ) ) . '</p></div>';
     207        echo '<div id="message" class="updated"><p>' . sprintf( _nx( 'Theme deleted.', '%s themes deleted.', $_GET['deleted'], 'network' ), number_format_i18n( $_GET['deleted'] ) ) . '</p></div>';
    208208} elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) {
    209209        echo '<div id="message" class="error"><p>' . __( 'No theme selected.' ) . '</p></div>';
    210210} elseif ( isset( $_GET['error'] ) && 'main' == $_GET['error'] ) {