Changeset 2592178
- Timestamp:
- 09/01/2021 03:02:26 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
button-visually-impaired/trunk/include/src/Core/Upgrade.php
r2592175 r2592178 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( __FILE__);46 $this_plugin = plugin_basename( BVI_FILE ); 47 47 foreach ( $hook_extra['plugins'] as $key => $plugin ) { 48 48 if ( $this_plugin == $plugin ) {
Note: See TracChangeset
for help on using the changeset viewer.