Make WordPress Core


Ignore:
Timestamp:
10/30/2015 12:57:22 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Don't use <code> in translatable string in wp-admin/includes/media.php.

Add translator commment.

Props ramiy.
Fixes #34499.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r35374 r35439  
    14851485        } elseif ( !MEDIA_TRASH ) {
    14861486            $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a>
    1487              <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'><p>" . sprintf( __( 'You are about to delete <strong>%s</strong>.' ), $filename ) . "</p>
     1487             <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'>" .
     1488             /* translators: %s: file name */
     1489            '<p>' . sprintf( __( 'You are about to delete %s.' ), '<strong>' . $filename . '</strong>' ) . "</p>
    14881490             <a href='" . wp_nonce_url( "post.php?action=delete&amp;post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='button'>" . __( 'Continue' ) . "</a>
    14891491             <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a>
Note: See TracChangeset for help on using the changeset viewer.