Plugin Directory

Changeset 1242730


Ignore:
Timestamp:
09/10/2015 07:13:55 PM (11 years ago)
Author:
slobodanmanic
Message:

Version 1.1.1

Location:
tha-hooks-interface/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tha-hooks-interface/trunk/README.txt

    r981282 r1242730  
    44Requires at least: 3.5
    55Tested up to: 4.0
    6 Stable tag: 1.1
     6Stable tag: 1.1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5858== Changelog ==
    5959
     60= 1.1.1 =
     61* Fixes plugin uninstall error
    6062
    6163= 1.1 =
  • tha-hooks-interface/trunk/tha-hooks-interface.php

    r981276 r1242730  
    1616 * Plugin URI:        http://wordpress.org/plugins/tha-hooks-interface/
    1717 * Description:       Allows you to hook into Theme Hook Alliance hooks using a simple interface. Also works with standard WordPress hooks wp_head and wp_footer.
    18  * Version:           1.1
     18 * Version:           1.1.1
    1919 * Author:            ThematoSoup
    2020 * Author URI:        http://thematosoup.com
  • tha-hooks-interface/trunk/uninstall.php

    r804256 r1242730  
    1515}
    1616
    17 $all_tha_hooks = tha_interface_all_hooks();
    18 foreach ( $all_tha_hooks as $hooks_group => $hooks_group_values ) :
    19     // Delete all the options on plugin ununstall
     17$all_tha_hooks = array(
     18    'WordPress',
     19    'html',
     20    'body',
     21    'head',
     22    'header',
     23    'content',
     24    'entry',
     25    'comments',
     26    'sidebar',
     27    'footer'
     28);
     29
     30foreach ( $all_tha_hooks as $hooks_group ) :
     31    // Delete all the options on plugin uninstall
    2032    delete_option( 'tha_hooks_interface_' . $hooks_group );
    2133endforeach;
Note: See TracChangeset for help on using the changeset viewer.