branch | wordpress |
changeset 123 | 561aa6d282f6 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/wptouch/include/plugin.php Mon Feb 01 09:51:57 2010 +0000 @@ -0,0 +1,8 @@ +<?php + function bnc_get_wp_version() { + $version = (float)str_replace('.','',get_bloginfo('version')); + if ($version < 100) { $version = $version * 10; } + $version = $version / 100; + return $version; + } +?> \ No newline at end of file