common -> wp-common
Peter Molnar hello@petermolnar.eu
Thu, 30 May 2013 16:35:11 +0100
2 files changed,
1 insertions(+),
5 deletions(-)
M
.gitmodules
→
.gitmodules
@@ -1,6 +1,3 @@
-[submodule "common"] - path = common - url = https://github.com/petermolnar/wp-common.git [submodule "wp-common"] path = wp-common url = git@github.com:petermolnar/wp-common.git
M
wp-ffpc-class.php
→
wp-ffpc-class.php
@@ -675,8 +675,7 @@ */
public function plugin_hook_options_migrate( &$options ) { $migrated = false; - if ( $options['version'] != $this->plugin_version || !isset ( $options['version'] ) ) { - + if ( version_compare ( $options['version'] , $this->plugin_version , '<' ) ) { /* cleanup possible leftover files from previous versions */ $check = array ( 'advanced-cache.php', 'nginx-sample.conf', 'wp-ffpc.admin.css', 'wp-ffpc-common.php' ); foreach ( $check as $fname ) {