diff --git src/js/_enqueues/wp/updates.js src/js/_enqueues/wp/updates.js
index b8b36c166f..b47c990eb8 100644
|
|
|
|
| 3260 | 3260 | $message.text( message.text ); |
| 3261 | 3261 | } |
| 3262 | 3262 | |
| 3263 | | if ( 'undefined' === typeof message.action || 'undefined' === typeof message.data.slug ) { |
| | 3263 | if ( 'undefined' === typeof message.action ) { |
| 3264 | 3264 | return; |
| 3265 | 3265 | } |
| 3266 | 3266 | |
| … |
… |
|
| 3274 | 3274 | |
| 3275 | 3275 | case 'install-plugin': |
| 3276 | 3276 | case 'update-plugin': |
| | 3277 | if ( 'undefined' === typeof message.data || 'undefined' === typeof message.data.slug ) { |
| | 3278 | return; |
| | 3279 | } |
| | 3280 | |
| 3277 | 3281 | message.data = wp.updates._addCallbacks( message.data, message.action ); |
| 3278 | 3282 | |
| 3279 | 3283 | wp.updates.queue.push( message ); |