Changeset 37974
- Timestamp:
- 07/05/2016 03:36:43 PM (8 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/index.php
r37680 r37974 18 18 if ( current_user_can( 'edit_theme_options' ) ) 19 19 wp_enqueue_script( 'customize-loader' ); 20 if ( current_user_can( 'install_plugins' ) ) 20 if ( current_user_can( 'install_plugins' ) ) { 21 21 wp_enqueue_script( 'plugin-install' ); 22 wp_enqueue_script( 'updates' ); 23 } 22 24 if ( current_user_can( 'upload_files' ) ) 23 25 wp_enqueue_script( 'media-upload' ); -
trunk/src/wp-admin/js/updates.js
r37973 r37974 2112 2112 $.support.postMessage = !! window.postMessage; 2113 2113 2114 if ( false === $.support.postMessage || null === target ) {2114 if ( false === $.support.postMessage || null === target || -1 !== window.parent.location.pathname.indexOf( 'index.php' ) ) { 2115 2115 return; 2116 2116 }
Note: See TracChangeset
for help on using the changeset viewer.