addons as $addon_basename => $addon ) : if ( false == $this->is_addon_outdated( $addon_basename ) || false == is_plugin_active( $addon_basename ) ) { continue; } $update_url = wp_nonce_url( network_admin_url( 'update.php?action=upgrade-plugin&plugin=' . urlencode( $addon_basename ) ), 'upgrade-plugin_' . $addon_basename ); $addon_slug = current( explode( '/', $addon_basename ) ); if ( isset( $GLOBALS['wpmdb_meta'][ $addon_slug ]['version'] ) ) { $version = ' (' . $GLOBALS['wpmdb_meta'][ $addon_slug ]['version'] . ')'; } else { $version = ''; } ?>