Skip to content

Commit

Permalink
Refresh WordPress Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
deployment_bot committed Oct 5, 2024
1 parent da237f6 commit 187e936
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2282,15 +2282,17 @@ var State = Backbone.Model.extend(/** @lends wp.media.controller.State.prototype
_menu: function() {
var menu = this.frame.menu,
mode = this.get('menu'),
view,
actionMenuItems = this.frame.menu.get('views'),
actionMenuLength = actionMenuItems ? actionMenuItems.views.get().length : 0;
actionMenuItems,
actionMenuLength,
view;

if ( this.frame.menu ) {
actionMenuItems = this.frame.menu.get('views'),
actionMenuLength = actionMenuItems ? actionMenuItems.views.get().length : 0,
// Show action menu only if it is active and has more than one default element.
this.frame.$el.toggleClass( 'hide-menu', ! mode || actionMenuLength < 2 );
}
if ( ! mode || actionMenuLength < 2 ) {
if ( ! mode ) {
return;
}

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.6"): { size: nu
case 'nightly':
/** @ts-ignore */
return {
size: 29891568,
size: 29891721,
url: url_nightly,
};

Expand Down
Binary file modified packages/playground/wordpress-builds/src/wordpress/wp-nightly.zip
Binary file not shown.

0 comments on commit 187e936

Please sign in to comment.