Changeset 2592171
- Timestamp:
- 09/01/2021 02:51:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
button-visually-impaired/trunk/include/src/Core/Upgrade.php
r2592128 r2592171 44 44 if ( is_array( $hook_extra ) && array_key_exists( 'action', $hook_extra ) && array_key_exists( 'type', $hook_extra ) && array_key_exists( 'plugins', $hook_extra ) ) { 45 45 if ( $hook_extra['action'] == 'update' && $hook_extra['type'] == 'plugin' && is_array( $hook_extra['plugins'] ) && ! empty( $hook_extra['plugins'] ) ) { 46 $this_plugin = plugin_basename( BVI_FILE);46 $this_plugin = plugin_basename( __FILE__ ); 47 47 foreach ( $hook_extra['plugins'] as $key => $plugin ) { 48 48 if ( $this_plugin == $plugin ) { … … 62 62 if ( get_transient( 'bvi_updated' ) && current_user_can( 'administrator' ) ) { 63 63 Activate::getInstance()->activation(); 64 ?>65 <script>66 alert('asfasfasf');67 console.log('sadasdasdasdsasdasd')68 </script>69 <?php70 64 } 71 65 }
Note: See TracChangeset
for help on using the changeset viewer.