• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

REQ Theme Swyft - PageSpeed Optimized WordPress Blog Theme

Hello I have it but Not nulled
Can someone work on it
Thanks.
 

Attachments

  • swyft-pagespeed-optimized-wordpress-blog-theme-v1.0.2.zip
    2.1 MB · Views: 38
  • Like
Reactions: maxpayneinfo
Ciao,

Please go into Theme editor -> core->theme-dashboard-> class-theme-activation.php

and, change the whole function: "public function trigger_license() {"

with this one:

PHP:
public function trigger_license() {
    if ( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'] ) ) {
        return;
    }

    // Get action.
    if ( ! isset( $_POST['action'] ) ) {
        return;
    }

    // Get purchase code.
    if ( isset( $_POST['code'] ) && $_POST['code'] ) {
        $this->purchase_code = sanitize_text_field( $_POST['code'] );
    } else {
        $this->msg = $this->set_message( esc_html__( 'Purchase code not entered.', 'swyft' ) );
        return;
    }

    $action = sanitize_text_field( $_POST['action'] );

    // Simulate successful license activation.
    $data = array(
        'status' => 'active', // License is always active
        'message' => esc_html__( 'License activated.', 'swyft' )
    );

    // Perform actions based on the simulated activation data.
    switch ( $action ) {
        case 'activate':
        case 'check':
            $this->reset_notices();
            $this->update_license( $data );
            break;

        case 'deactivate':
            $this->reset_notices();
            $this->delete_license();
            break;

        case 'subscribe':
            $this->update_subscribe();
            break;

        default:
            // Handle other actions or do nothing.
            break;
    }

    // Set a success message.
    $this->msg = $this->set_message( $data['message'], 'success' );
}

After you do this, It will work to insert anything in the license field.


If you find this useful, please upvote the comment :)
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock