Changeset 760253
- Timestamp:
- 08/21/2013 07:30:32 PM (13 years ago)
- Location:
- community-jar/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
plugin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
community-jar/trunk/README.txt
r760147 r760253 5 5 Requires at least: 3.4 6 6 Tested up to: 3.6 7 Stable tag: 1.0. 17 Stable tag: 1.0.3 8 8 9 9 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. -
community-jar/trunk/plugin.php
r760147 r760253 4 4 Plugin URI: http://ChurchMediaDesign.tv/community-jar 5 5 Description: 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. 16 Version: 1.0.3 7 7 Author: Brad Zimmerman 8 8 Author URI: http://ChurchMediaDesign.tv/ … … 139 139 // Register the plugin template files on plugin acivation 140 140 register_activation_hook( __FILE__, array( $this, 'register_project_template' ) ); 141 register_deactivation_hook( __FILE__, array( $this, 'deregister_project_template' ) );142 141 143 142 // Register the plugin template files when the theme is switched … … 1261 1260 return $template; 1262 1261 } 1263 1264 /**1265 * Removes the template from the theme directory that was added during theme activation.1266 *1267 * @version 1.01268 * since 1.01269 */1270 public static function deregister_project_template() {1271 1272 // Get the path to the theme1273 $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 if1280 1281 } // end deregister_project_template1282 1262 1283 1263 /*---------------------------------------------------------*
Note: See TracChangeset
for help on using the changeset viewer.