<commit_before><?php defined('ABSPATH') OR die('No direct access.');
/*
Plugin Name: WP Mailto Links - Manage Email Links
Plugin URI: http://www.freelancephp.net/wp-mailto-links-plugin
Description: Manage mailto links on your site and protect email addresses from spambots, set mail icon and more.
Author: <NAME>
Version: 1.6.0
Author URI: http://www.freelancephp.net
License: Dual licensed under the MIT and GPL licenses
Text Domain: wp-mailto-links
Domain Path: /languages
*/
define('WPML_VERSION', '1.6.0');
define('WPML_MIN_PHP_VERSION', '5.2.4');
define('WPML_MIN_WP_VERSION', '3.6');

// includes
if (!class_exists('WPDev_Plugin')) {
    require_once(dirname(__FILE__) . '/classes/WPDev/Plugin.php');
}
require_once(dirname(__FILE__) . '/classes/WPML.php');

// wp_version var was used by older WP versions
if (!isset($wp_version)) {
    $wp_version = get_bloginfo('version');
}

// compatibility
$compatiblePhpVersion = version_compare(phpversion(), WPML_MIN_PHP_VERSION, '>=');
$compatibleWpVersion = version_compare($wp_version, WPML_MIN_WP_VERSION, '>=');

// create plugin
WPML::create(array(
    'key' => 'WP_Mailto_Links',
    'domain' => 'wp-mailto-links',
    'optionName' => 'WP_Mailto_Links_options',
    'adminPage' => 'wp-mailto-links-settings',
    'file' => __FILE__,
    'dir' => dirname(__FILE__),
    'pluginUrl' => plugins_url('', __FILE__),
    'wpVersion' => $wp_version,
    'isCompatible' => ($compatiblePhpVersion && $compatibleWpVersion),
));
<commit_msg>check first if constants are already defined<commit_after><?php defined('ABSPATH') OR die('No direct access.');
/*
Plugin Name: WP Mailto Links - Manage Email Links
Plugin URI: http://www.freelancephp.net/wp-mailto-links-plugin
Description: Manage mailto links on your site and protect email addresses from spambots, set mail icon and more.
Author: <NAME>
Version: 1.6.0
Author URI: http://www.freelancephp.net
License: Dual licensed under the MIT and GPL licenses
Text Domain: wp-mailto-links
Domain Path: /languages
*/
if (!defined('WPML_VERSION')) { define('WPML_VERSION', '1.6.0'); }
if (!defined('WPML_MIN_PHP_VERSION')) { define('WPML_MIN_PHP_VERSION', '5.2.4'); }
if (!defined('WPML_MIN_WP_VERSION')) { define('WPML_MIN_WP_VERSION', '3.6'); }

// includes
if (!class_exists('WPDev_Plugin')) {
    require_once(dirname(__FILE__) . '/classes/WPDev/Plugin.php');
}
require_once(dirname(__FILE__) . '/classes/WPML.php');

// wp_version var was used by older WP versions
if (!isset($wp_version)) {
    $wp_version = get_bloginfo('version');
}

// compatibility
$compatiblePhpVersion = version_compare(phpversion(), WPML_MIN_PHP_VERSION, '>=');
$compatibleWpVersion = version_compare($wp_version, WPML_MIN_WP_VERSION, '>=');

// create plugin
WPML::create(array(
    'key' => 'WP_Mailto_Links',
    'domain' => 'wp-mailto-links',
    'optionName' => 'WP_Mailto_Links_options',
    'adminPage' => 'wp-mailto-links-settings',
    'file' => __FILE__,
    'dir' => dirname(__FILE__),
    'pluginUrl' => plugins_url('', __FILE__),
    'wpVersion' => $wp_version,
    'isCompatible' => ($compatiblePhpVersion && $compatibleWpVersion),
));

{'fraction_non_alphanumeric': 0.1625, 'fraction_numerical': 0.007051282051282051, 'mean_word_length': 5.305050505050505, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5595470', 'n_tokens_mistral': 1052, 'n_tokens_neox': 1047, 'n_words': 236}