Title / Description
Code global $wpdb; define('WPSC_VERSION', '3.7'); define('WPSC_MINOR_VERSION', '46'); define('WPSC_PRESENTABLE_VERSION', '3.7.5.3'); define('WPSC_DEBUG', false); define('WPSC_GATEWAY_DEBUG', false); $v1 = str_replace(array('_','-','+'), '.', strtolower($wp_version)); $v1 = str_replace(array('alpha','beta','gamma'), array('a','b','g'), $v1); $v1 = preg_split("/([a-z]+)/i",$v1,-1, PREG_SPLIT_DELIM_CAPTURE); array_walk($v1, create_function('&$v', '$v = trim($v,". ");')); define('IS_WP25', version_compare($v1[0], '2.5', '>=')); define('IS_WP27', version_compare($v1[0], '2.7', '>='));
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code