/**
  * Initialization function, similar to __construct()
  *
  * @since 0.60
  *
  * @return	void
  */
 public static function initialize()
 {
     MLATest::$wp_3dot5 = version_compare(get_bloginfo('version'), '3.5.0', '>=') && version_compare(get_bloginfo('version'), '3.5.99', '<=');
     MLATest::$wp_4dot3_plus = version_compare(get_bloginfo('version'), '4.2.99', '>=');
     /*
      * This is the earliest effective place to change error_reporting
      */
     MLACore::$original_php_log = ini_get('error_log');
     MLACore::$original_php_reporting = sprintf('0x%1$04X', error_reporting());
     $php_reporting = trim(MLACore::mla_get_option(MLACoreOptions::MLA_DEBUG_REPLACE_PHP_REPORTING));
     if (!empty($php_reporting)) {
         @error_reporting(0 + $php_reporting);
     }
     /*
      * This is the earliest effective place to localize values in other plugin components
      */
     MLACoreOptions::mla_localize_option_definitions_array();
     if (class_exists('MLASettings')) {
         MLASettings::mla_localize_tablist();
     }
     if (class_exists('MLAQuery')) {
         MLAQuery::mla_localize_default_columns_array();
     }
     if (class_exists('MLA_Upload_List_Table')) {
         MLA_Upload_List_Table::mla_localize_default_columns_array();
     }
     if (class_exists('MLA_Upload_Optional_List_Table')) {
         MLA_Upload_Optional_List_Table::mla_localize_default_columns_array();
     }
     if (class_exists('MLA_View_List_Table')) {
         MLA_View_List_Table::mla_localize_default_columns_array();
     }
 }
 /**
  * Delete the stored value of a defined MLA option
  *
  * @since 2.20
  *
  * @param	string 	Name of the desired option
  * @param	array	Custom option definitions
  *
  * @return	boolean	True if the option was deleted, otherwise false
  */
 public static function mla_delete_option($option, &$option_table = NULL)
 {
     if (NULL == $option_table) {
         if (empty(MLACoreOptions::$mla_option_definitions)) {
             MLACoreOptions::mla_localize_option_definitions_array();
         }
         $option_table =& MLACoreOptions::$mla_option_definitions;
     }
     if (array_key_exists($option, $option_table)) {
         return delete_option(MLA_OPTION_PREFIX . $option);
     }
     return false;
 }
     */
    $content_dir = defined('WP_CONTENT_DIR') ? WP_CONTENT_DIR : ABSPATH . 'wp-content';
    define('MLA_BACKUP_DIR', $content_dir . '/mla-backup/');
    unset($content_dir);
}
if (!defined('MLA_OPTION_PREFIX')) {
    /**
     * Gives a unique prefix for plugin options; can be set in wp-config.php
     */
    define('MLA_OPTION_PREFIX', 'mla_');
}
/*
 * Load the MLA Options table to get the option settings list
 */
require_once MLA_PLUGIN_PATH . 'includes/class-mla-core-options.php';
MLACoreOptions::mla_localize_option_definitions_array();
/**
 * Class MLA (Media Library Assistant) Uninstall deletes the data associated with the MLA plugin
 *
 * @package Media Library Assistant
 * @since 2.25
 */
class MLAUninstall
{
    /**
     * Delete option settings and/or backup directory, if the appropriate MLA General options are set
     *
     * @since 2.25
     */
    public static function process_uninstall()
    {