Skip to content

Commit dbe189a

Browse files
address feedback
1 parent 4e924eb commit dbe189a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wp-admin/includes/media.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2276,6 +2276,7 @@ function media_upload_form( $errors = null ) {
22762276
* @since 2.6.0
22772277
*/
22782278
do_action( 'pre-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
2279+
22792280
$current_screen = get_current_screen();
22802281
$required = $current_screen && 'media' === $current_screen->id ? ' required' : '';
22812282
?>
@@ -2286,7 +2287,7 @@ function media_upload_form( $errors = null ) {
22862287
_ex( 'Upload', 'verb' );
22872288
?>
22882289
</label>
2289-
<input type="file" name="async-upload" id="async-upload"<?php echo $required; ?>/>
2290+
<input type="file" name="async-upload" id="async-upload"<?php echo $required; ?> />
22902291
<?php submit_button( _x( 'Upload', 'verb' ), 'primary', 'html-upload', false ); ?>
22912292
<a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e( 'Cancel' ); ?></a>
22922293
</p>

0 commit comments

Comments
 (0)