WordPress.org

Make WordPress Core

Ticket #18994: 18994.break-line.3.patch

File 18994.break-line.3.patch, 1.2 KB (added by SergeyBiryukov, 7 years ago)

With two %s placeholders

  • wp-admin/includes/media.php

     
    13461346<?php do_action('pre-plupload-upload-ui'); // hook change, old name: 'pre-flash-upload-ui' ?>
    13471347<div id="drag-drop-area">
    13481348        <div class="drag-drop-inside">
    1349         <p class="dragdrop-info"><?php _e('Drop files here or'); ?></p>
    1350         <p><input id="plupload-browse-button" type="button" value="<?php esc_attr_e('Select Files'); ?>" class="button" />
    1351         <input id="cancel-upload" disabled="true" onclick="cancelUpload()" type="button" value="<?php esc_attr_e('Cancel Upload'); ?>" class="button" /></p>
     1349        <?php printf( __( '%s or %s' ), '<p class="dragdrop-info">' . __( 'Drop files here' ) . '</p><p>', '<input id="plupload-browse-button" type="button" value="' . esc_attr__( 'Select Files' ) . '" class="button" /></p>' ); ?>
     1350        <p><input id="cancel-upload" disabled="true" onclick="cancelUpload()" type="button" value="<?php esc_attr_e( 'Cancel Upload' ); ?>" class="button" /></p>
    13521351        </div>
    13531352</div>
    13541353<?php do_action('post-plupload-upload-ui'); // hook change, old name: 'post-flash-upload-ui' ?>