Plugin Directory

Changeset 3356394


Ignore:
Timestamp:
09/05/2025 02:04:33 AM (6 months ago)
Author:
demandhub
Message:

Deactivation bug fix

Location:
demandhub/tags/1.0.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • demandhub/tags/1.0.0/README.md

    r3139980 r3356394  
    88License URI: https://www.gnu.org/licenses/lgpl-2.1.html 
    99Requires at least: 4.7 
    10 Tested up to: 6.6 
     10Tested up to: 6.8.2 
    1111
    1212Add and customize DemandHub's website widgets on your WordPress website
  • demandhub/tags/1.0.0/demandhub.php

    r3045838 r3356394  
    8888 * Handle callback when WP deactivate the plugin
    8989 */
    90 function demandhub_handle_deactivation()
    91 {
     90function demandhub_handle_deactivation($plugin, $network_deactivating)
     91{
     92    if ($plugin !== plugin_basename(__FILE__)) {
     93        return;
     94    }
     95
    9296    demandhub_handle_option('demandhub-script-code', '');
    93     delete_option('demandhub-installation', false);
     97    delete_option('demandhub-installation');
    9498}
    9599
  • demandhub/tags/1.0.0/readme.txt

    r3139980 r3356394  
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99Requires at least: 4.7
    10 Tested up to: 6.6
     10Tested up to: 6.8.2
    1111
    1212Add and customize DemandHub's website widgets on your WordPress website
Note: See TracChangeset for help on using the changeset viewer.