Plugin Directory

Changeset 451515


Ignore:
Timestamp:
10/16/2011 05:30:35 AM (14 years ago)
Author:
thiudis
Message:

Removing the correct shortcode when uninstalling the plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • custom-menu/trunk/class-custom-menu-install.php

    r451505 r451515  
    2525   
    2626    static function deactivate() {
    27         //remove_shortcode('custom-menu');
     27        //remove_shortcode('menu');
    2828        //delete_option('custom_menu');
    2929    }
    3030   
    3131    static function uninstall() {
    32         remove_shortcode('custom-menu');
     32        remove_shortcode('menu');
    3333        delete_option('custom_menu');
    3434    }
Note: See TracChangeset for help on using the changeset viewer.