<commit_before><?php
/**
 * Class WPML_Admin
 *
 * @package  WPML
 * @category WordPress Plugins
 * @author   <NAME>
 * @link     http://www.freelancephp.net/
 * @license  MIT license
 */
class WPML_Admin extends WPDev_Plugin_AdminPage
{

    /**
     * Constructor
     * Init settings, metaboxes, helptabs etc
     * @param array $settings
     */
    public function __construct(array $settings)
    {
        $metaboxes = array(
            'general' => array(
                'title' => WPML::__('General Settings'),
                'position' => 'normal',
             ),
            'style' => array(
                'title' => WPML::__('Style Settings'),
                'position' => 'normal',
             ),
            'admin' => array(
                'title' => WPML::__('Admin Settings'),
                'position' => 'normal',
             ),
            'this-plugin' => array(
                'title' => WPML::__('Support'),
                'position' => 'side',
             ),
            'other-plugins' => array(
                'title' => WPML::__('Other Plugins'),
                'position' => 'side',
             ),
        );

        $helptabs = array(
            'general' => array(
                'title' => WPML::__('General'),
             ),
            'shortcodes' => array(
                'title' => WPML::__('Shortcodes'),
             ),
            'templatefunctions' => array(
                'title' => WPML::__('Template functions'),
             ),
            'actionhooks' => array(
                'title' => WPML::__('Action Hooks'),
             ),
            'filterhooks' => array(
                'title' => WPML::__('Filter Hooks'),
             ),
            'faq' => array(
                'title' => WPML::__('FAQ'),
             ),
        );

        parent::__construct($settings, $metaboxes, $helptabs);
    }

    /**
     * WP action callback
     */
    public function actionAdminInit()
    {
//        logger(WPML::get('dir'));
//        logger(dirname(WPML::get('file')));

        // actions and filters
        add_action('admin_notices', array($this, 'actionAdminNotices'));
        add_filter('plugin_action_links', array($this, 'filterPluginActionLinks'), 10, 2);
    }

    /**
     * WP action callback
     */<commit_msg>clean comments<commit_after><?php
/**
 * Class WPML_Admin
 *
 * @package  WPML
 * @category WordPress Plugins
 * @author   <NAME>
 * @link     http://www.freelancephp.net/
 * @license  MIT license
 */
class WPML_Admin extends WPDev_Plugin_AdminPage
{

    /**
     * Constructor
     * Init settings, metaboxes, helptabs etc
     * @param array $settings
     */
    public function __construct(array $settings)
    {
        $metaboxes = array(
            'general' => array(
                'title' => WPML::__('General Settings'),
                'position' => 'normal',
             ),
            'style' => array(
                'title' => WPML::__('Style Settings'),
                'position' => 'normal',
             ),
            'admin' => array(
                'title' => WPML::__('Admin Settings'),
                'position' => 'normal',
             ),
            'this-plugin' => array(
                'title' => WPML::__('Support'),
                'position' => 'side',
             ),
            'other-plugins' => array(
                'title' => WPML::__('Other Plugins'),
                'position' => 'side',
             ),
        );

        $helptabs = array(
            'general' => array(
                'title' => WPML::__('General'),
             ),
            'shortcodes' => array(
                'title' => WPML::__('Shortcodes'),
             ),
            'templatefunctions' => array(
                'title' => WPML::__('Template functions'),
             ),
            'actionhooks' => array(
                'title' => WPML::__('Action Hooks'),
             ),
            'filterhooks' => array(
                'title' => WPML::__('Filter Hooks'),
             ),
            'faq' => array(
                'title' => WPML::__('FAQ'),
             ),
        );

        parent::__construct($settings, $metaboxes, $helptabs);
    }

    /**
     * WP action callback
     */
    public function actionAdminInit()
    {
        add_action('admin_notices', array($this, 'actionAdminNotices'));
        add_filter('plugin_action_links', array($this, 'filterPluginActionLinks'), 10, 2);
    }

    /**
     * WP action callback
     */
{'fraction_non_alphanumeric': 0.15942997105321755, 'fraction_numerical': 0.0013360053440213762, 'mean_word_length': 1.4914032168607876, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '90930', 'n_tokens_mistral': 1272, 'n_tokens_neox': 1232, 'n_words': 240}