How to null Master Popups plugin

by Festinger in on June 21, 2020

Edit the file includes/class-ajax.php and find the function update_plugin_status which starts around line 613. After the line:

$return = array();

add this:

$temp_data = array("purchase_code" => "makeup-a-purchase-code-here","domain" => "google.com","ip" => "8.8.8.8","user_name" => "Mr Blobby","user_email" => "null@null.com","supported_until" => "2046-12-31T00:00:00+11:00","type" => "Regular License", "item_id" => "20142807","created_at" => "2018-12-12 12:12:12","updated_at" => date("Y-m-d H:i:s")); $return['success'] = true; $xbox = xbox_get( $this->plugin->arg( 'xbox_ids', 'settings' ) ); if( $type == 'activation' )
update_option( 'mpp-plugin-status', $temp_data );
$xbox->set_field_value( 'activation-status', 'on' );
} else{
$return['local_deactivation'] = true;
delete_option( 'mpp-plugin-status' );
$xbox->set_field_value( 'activation-status', 'off' ); } wp_send_json( $return );{

Now edit the file class-functions.php and in the function, url_to_domain add this to the start of the function code:

return true;

In the same file find the function get_site_domain and add this to the start of the function code:

return "google.com";

Now use any details to activate the plugin.

Categories: Uncategorized