Ticket #41387: 41387.patch
File 41387.patch, 819 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/js/postbox.js
284 284 return; 285 285 } 286 286 287 closedpostboxesnonce = jQuery('#closedpostboxesnonce').val(); 288 if ( !closedpostboxesnonce ) { 289 return; 290 } 291 287 292 closed = $( '.postbox' ).filter( '.closed' ).map( function() { return this.id; } ).get().join( ',' ); 288 293 hidden = $( '.postbox' ).filter( ':hidden' ).map( function() { return this.id; } ).get().join( ',' ); 289 294 … … 291 296 action: 'closed-postboxes', 292 297 closed: closed, 293 298 hidden: hidden, 294 closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(),299 closedpostboxesnonce: closedpostboxesnone, 295 300 page: page 296 301 }); 297 302 },