Skip to content

Commit a9b8df2

Browse files
deployment_botadamziel
authored andcommitted
Refresh WordPress Nightly
1 parent b307619 commit a9b8df2

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed
Binary file not shown.

packages/playground/wordpress-builds/public/wp-nightly/wp-includes/js/plupload/handlers.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,12 @@ function switchUploader( s ) {
276276

277277
if ( typeof( uploader ) == 'object' )
278278
uploader.refresh();
279+
280+
jQuery( '#plupload-browse-button' ).trigger( 'focus' );
279281
} else {
280282
setUserSetting( 'uploader', '1' ); // 1 == html uploader.
281283
jQuery( '.media-upload-form' ).addClass( 'html-uploader' );
284+
jQuery( '#async-upload' ).trigger( 'focus' );
282285
}
283286
}
284287

@@ -420,11 +423,11 @@ jQuery( document ).ready( function( $ ) {
420423
target.parents( '.media-item' ).fadeOut( 200, function() {
421424
$( this ).remove();
422425
} );
423-
} else if ( target.is( '.upload-flash-bypass a' ) || target.is( 'a.uploader-html' ) ) { // Switch uploader to html4.
426+
} else if ( target.is( '.upload-flash-bypass button' ) || target.is( 'a.uploader-html' ) ) { // Switch uploader to html4.
424427
$( '#media-items, p.submit, span.big-file-warning' ).css( 'display', 'none' );
425428
switchUploader( 0 );
426429
e.preventDefault();
427-
} else if ( target.is( '.upload-html-bypass a' ) ) { // Switch uploader to multi-file.
430+
} else if ( target.is( '.upload-html-bypass button' ) ) { // Switch uploader to multi-file.
428431
$( '#media-items, p.submit, span.big-file-warning' ).css( 'display', '' );
429432
switchUploader( 1 );
430433
e.preventDefault();

packages/playground/wordpress-builds/public/wp-nightly/wp-includes/js/plupload/handlers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/playground/wordpress-builds/src/wordpress/get-wordpress-module-details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.8"): { size: nu
2828
case 'nightly':
2929
/** @ts-ignore */
3030
return {
31-
size: 24755662,
31+
size: 24755733,
3232
url: url_nightly,
3333
};
3434

71 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)