Plugin Directory

Changeset 1267818


Ignore:
Timestamp:
10/17/2015 07:57:02 AM (10 years ago)
Author:
siteheart
Message:

update fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hypercomments/trunk/hypercomments.php

    r1267362 r1267818  
    2929add_action('admin_head', 'hc_admin_head');
    3030add_filter('the_content', 'hc_the_content_filter', 50);
    31 
     31add_action('upgrader_process_complete', 'hc_upgrade');
    3232add_action('wp_footer', 'hc_count_widget',20);
    3333add_filter('comments_template', 'hc_comments_template');
     
    267267
    268268/**
     269 * Action by upgrade the plugin
     270 */
     271function hc_upgrade()
     272{
     273    update_option('hc_locale', hc_get_language());
     274}
     275
     276/**
    269277 * Action when uninstall plugin
    270278 */
Note: See TracChangeset for help on using the changeset viewer.