WordPress.org

Plugin Directory

Changeset 517409


Ignore:
Timestamp:
03/11/12 01:42:13 (2 years ago)
Author:
jeffsebring
Message:

remove deactivation hook

Location:
google-web-fonts-for-wordpress/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • google-web-fonts-for-wordpress/trunk/includes/render_gwf_install.php

    r478527 r517409  
    1919 
    2020endif; 
    21  
    22 # Remove default settings from theme mods on plugin deactivation 
    23  
    24 if ( ! function_exists( 'render_gwf_deactivate' ) ) : 
    25  
    26 function render_gwf_deactivate()    { 
    27      
    28     global $gwf; 
    29     $num = 0; 
    30     while ( $num < 4 )  { 
    31         $num++; 
    32  
    33         remove_theme_mod( $gwf[ $num ][ 'id' ] ); 
    34         remove_theme_mod( $gwf[ $num ][ 'id' ] . '_activated' ); 
    35  
    36     } 
    37 } 
    38  
    39 endif; 
  • google-web-fonts-for-wordpress/trunk/readme.txt

    r511449 r517409  
    44Requires at least: 3.2.1 
    55Tested up to: 3.3 
    6 Stable tag: 2.0.3 
     6Stable tag: 2.0.4 
    77 
    88== Description == 
     
    5656* Readme Updated 
    5757 
     58= 2.0.4 = 
     59* Remove deactivation hook 
  • google-web-fonts-for-wordpress/trunk/render_gwf.php

    r511449 r517409  
    44Plugin URI: http://jeffsebring.com/wordpress/plugins/google-web-fonts/ 
    55Description: Choose from any font in the Google Web Font Library for use in your theme's CSS. 
    6 Version: 2.0.3 
     6Version: 2.0.4 
    77Author: Jeff Sebring 
    88Author URI: http://jeffsebring.com 
     
    2323   include_once( 'includes/render_gwf_install.php' ); 
    2424   register_activation_hook( __FILE__, 'render_gwf_activate' ); 
    25    register_deactivation_hook( __FILE__, 'render_gwf_activate' ); 
    2625 
    2726   # Enqueue fonts for preview on options page 
Note: See TracChangeset for help on using the changeset viewer.