Plugin Directory

Changeset 2461477


Ignore:
Timestamp:
01/23/2021 03:30:11 PM (5 years ago)
Author:
uix642
Message:

bug Fixed, well, not exactly a bug, but for compatibility

Location:
a-ads
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • a-ads/tags/1.1/core.php

    r2461472 r2461477  
    1010   function activate() {
    1111        //Run on activation of plugin
    12         flush_rewrite_rules();
     12      //  flush_rewrite_rules();
    1313    }
    1414
     
    1616        //Run on deactivation of plugin
    1717        //unregister_widget('ads_widget');
    18         flush_rewrite_rules();
     18      //  flush_rewrite_rules();
    1919    }
    2020
    2121    function uninstall() {
    2222        //Run on unstallation of plugin
    23         flush_rewrite_rules();
     23      //  flush_rewrite_rules();
    2424    }
    2525
  • a-ads/trunk/core.php

    r2430559 r2461477  
    1010   function activate() {
    1111        //Run on activation of plugin
    12         flush_rewrite_rules();
     12       // flush_rewrite_rules();
    1313    }
    1414
     
    1616        //Run on deactivation of plugin
    1717        //unregister_widget('ads_widget');
    18         flush_rewrite_rules();
     18      //  flush_rewrite_rules();
    1919    }
    2020
    2121    function uninstall() {
    2222        //Run on unstallation of plugin
    23         flush_rewrite_rules();
     23      //  flush_rewrite_rules();
    2424    }
    2525
Note: See TracChangeset for help on using the changeset viewer.