Plugin Directory

Changeset 760252


Ignore:
Timestamp:
08/21/2013 07:29:01 PM (13 years ago)
Author:
cmdtv
Message:

Tagged 1.0.3

Location:
community-jar/tags/1.0.3
Files:
3 deleted
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • community-jar/tags/1.0.3/README.txt

    r760147 r760252  
    55Requires at least: 3.4
    66Tested up to: 3.6
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88
    99Have a need or Help a need? The Community Jar makes it easy for anyone to submit a service project or volunteer to help meet a need.
  • community-jar/tags/1.0.3/plugin.php

    r760147 r760252  
    44Plugin URI: http://ChurchMediaDesign.tv/community-jar
    55Description: Have a need or Help a need? The Community Jar makes it easy for anyone to submit a service project or volunteer to help meet a need.
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: Brad Zimmerman
    88Author URI: http://ChurchMediaDesign.tv/
     
    139139        // Register the plugin template files on plugin acivation
    140140        register_activation_hook( __FILE__, array( $this, 'register_project_template' ) );
    141         register_deactivation_hook( __FILE__, array( $this, 'deregister_project_template' ) );
    142141       
    143142        // Register the plugin template files when the theme is switched
     
    12611260        return $template;
    12621261    }
    1263    
    1264     /**
    1265      * Removes the template from the theme directory that was added during theme activation.
    1266      *
    1267      * @version 1.0
    1268      * since    1.0
    1269      */
    1270     public static function deregister_project_template() {
    1271        
    1272         // Get the path to the theme
    1273         $theme_dir = get_template_directory();
    1274         $template_path = $theme_dir . '/community-jar-project-submission.php';
    1275        
    1276         // If the template file is in the theme path, delete it.
    1277         if( file_exists( $template_path ) ) {
    1278             unlink( $template_path );
    1279         } // end if
    1280        
    1281     } // end deregister_project_template
    12821262     
    12831263    /*---------------------------------------------------------*
Note: See TracChangeset for help on using the changeset viewer.