We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9eba2 commit b5ba97cCopy full SHA for b5ba97c
wp-template-controller.php
@@ -3,7 +3,7 @@
3
Plugin Name: Template Controller
4
Plugin URI: https://github.com/creativecoder/wp-template-controller
5
Description: Separate data generation from presentation in your WordPress templates
6
-Version: 0.1
+Version: 0.1.1
7
Author: Grant Kinney
8
Author URI: https://github.com/creativecoder
9
License: GPL2
@@ -165,7 +165,9 @@ function tpl_data( $name ) {
165
}
166
167
add_action( 'admin_init', function () {
168
- include_once( 'WordPress-GitHub-Plugin-Updater/updater.php' );
+ if ( ! class_exists('WP_GitHub_Updater') ) {
169
+ include_once( 'WordPress-GitHub-Plugin-Updater/updater.php' );
170
+ }
171
172
define( 'WP_GITHUB_FORCE_UPDATE', true );
173
0 commit comments