Changeset 39007

Show
Ignore:
Timestamp:
04/07/08 17:21:30 (3 months ago)
Author:
ketsugi
Message:

[FIX] Wrong full text for TIFF in default acronyms
[FIX] Updated to no longer use deprecated function hooks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • acronyms/trunk/acronyms.php

    r38903 r39007  
    44Plugin URI: http://ketsugi.com/software/wordpress/acronyms-plugin/ 
    55Description: A plugin to wrap acronyms in posts and comments with appropriate <acronym> acronyms. Allows users to manage lists of acronyms through admin interface. Based on Joel Bennett's Acronym Replacer plugin (http://www.huddledmasses.org/) and Joel Pan's NP_Acronym plugin for Nucleus CMS. 
    6 Version: 1.5.1 
     6Version: 1.5.2 
    77Author: Joel Pan 
    88Author URI: http://ketsugi.com/ 
     
    145145                  'SVN' => 'Subversion', 
    146146                  'TIA' => 'Thanks In Advance', 
    147                   'TIFF' => 'acronymged Image File Format', 
     147                  'TIFF' => 'Tagged Image File Format', 
    148148                  'TLD' => 'Top Level Domain', 
    149149                  'TOC' => 'Table of Contents', 
     
    533533 
    534534add_action( 'admin_init', array( 'Acronyms', 'management_handler' ) ); 
    535 add_action( 'activate_acronyms.php', array( 'Acronyms', 'install' ) ); 
    536 add_action( 'deactivate_acronyms.php', array( 'Acronyms', 'uninstall' ) ); 
     535register_activation_hook(__FILE__, array( 'Acronyms', 'install' ) ); 
     536register_deactivation_hook(__FILE__, array( 'Acronyms', 'uninstall' ) ); 
    537537if (1 == get_option( 'acronym_content' ) ) 
    538538      add_filter( 'the_content', array( 'Acronyms', 'acronym_replace' ) );