This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "wp-load.php"; | |
require_once "wp-admin/includes/admin.php"; | |
require_once "wp-content/themes/Avada/framework/plugins/importer/importer.php"; | |
// needs to be a valid admin user id, get the users/ids with $ wp user list | |
wp_set_current_user(1); | |
// check wp-content/themes/Avada/framework/plugins/importer/importer.php for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('DISABLE_WP_CRON', true); | |
require_once "wp-load.php"; | |
add_filter("pre_get_table_charset", "fail_in_get_table_charset", 10); | |
/* | |
simulate possible failure in |
NewerOlder