Permalink
Browse files

double-load check

  • Loading branch information...
alexkingorg committed Dec 16, 2011
1 parent b278829 commit 25f897faa6d3335d7dcceab5d99b34aa250edc6e
Showing with 7 additions and 3 deletions.
  1. +7 −3 cf-post-formats.php
View
@@ -3,7 +3,7 @@
Plugin Name: CF Post Formats
Plugin URI: http://crowdfavorite.com
Description: Custom post format admin screens
-Version: 1.0dev
+Version: 1.0
Author: crowdfavorite
Author URI: http://crowdfavorite.com
*/
@@ -30,7 +30,9 @@
* **********************************************************************
*/
-define('CFPF_VERSION', '0.3');
+if (!defined('CFPF_VERSION')) {
+
+define('CFPF_VERSION', '1.0');
function cfpf_base_url() {
return trailingslashit(apply_filters('cfpf_base_url', plugins_url('', __FILE__)));
@@ -221,4 +223,6 @@ function cfpf_pre_ping_post_links($post_links, $post_id) {
}
return $post_links;
}
-add_filter('pre_ping_post_links', 'cfpf_pre_ping_post_links', 10, 2);
+add_filter('pre_ping_post_links', 'cfpf_pre_ping_post_links', 10, 2);
+
+} // end defined check

0 comments on commit 25f897f

Please sign in to comment.