[GET][NULLED] - WP Staging Pro v2.6.9

S

sundragon0220

Guest
HVHYUdI.png

zHYdCiw.png

 

qwinder

New member
Jan 8, 2019
10
1
3
wp staging pro v2.7.6
 

Attachments

  • weadown.com_wp-staging-pro_v2.7.6.zip
    358.2 KB · Views: 49

KomissarMinsky

Active member
Nov 13, 2018
339
128
43
Brilliant - I'll be testing tomorrow on new site build, and will let you see/know how it goes.
 

NullMaster

Well-known member
Null Master
Trusted Uploader
Jul 25, 2018
12,059
22,063
120
Code:
We try and provide the simplest way for nulling products. Remember that with new product updates the nulling code may also change. Please let us know if this null does not work so we can look to update the information. Also, line numbers may be different with your editor. We can also help you null on request but please try yourself first.

All this is in the file apps/Backend/Pro/Licensing/licensing.php

comment out line 28 which is

define( 'WPSTG_STORE_URL', 'http://wp-staging.com' );

This will ensure it doesn’t contact their api server for license/update checks

Replace line 90 which is

$response = wp_remote_post( WPSTG_STORE_URL, array('timeout' => 15, 'sslverify' => false, 'body' => $api_params) );

with this:

$response = array('response'=>array('code'=>200));

Replace line 102 which is

$license_data = json_decode( wp_remote_retrieve_body( $response ) );

with this:

$license_data = (object)array('success'=>true, 'license'=>'valid', 'expires'=>'2048-06-06 23:59:59');

Now use any key you like to license/activate the plugin.

There’s a weekly license check which needs to be sorted out…

Find the function weekly_license_check  which is around line 227.

Add as the first line of the function

return;

To allow deactivation without contacting the api server,

Replace line 189 which is

$response = wp_remote_post( WPSTG_STORE_URL, array('timeout' => 15, 'sslverify' => false, 'body' => $api_params) );

with this:

$response = array('response'=>array('code'=>200));

Replace line 208 which is

$license_data = json_decode( wp_remote_retrieve_body( $response ) );

with this:

$license_data = (object)array('license'=>'deactivated');
 

KomissarMinsky

Active member
Nov 13, 2018
339
128
43
FYI

REmemebr to add a licence to the live site area in order for the staging section to work properly.
 

thedude

Member
Feb 23, 2019
58
9
8
Has anyone try this on a WP 5.1.1 site? I just got a warning on my site with it. Anyone have 2.8.1 version?

"Your version of WP Staging has not been tested with WordPress 5.1.1.
WP Staging is using crucial DB and file functions, so it's important that you are using a WP Staging version
which has been verified to be fully working with your WordPress version. You risk unexpected results, up to data lose if you do not so.

Get the latest version Now..”
 

purity

Well-known member
Trusted Uploader
Nov 4, 2018
662
3,027
100
Gemany
UPDATE!
v2.8.4


Changelog:

Version 2.8.4 – Released 11th May 2019
  • New: Compatible to WordPress 5.2
  • New: Allow adding file .wp-staging to root of the website to determine if it’s a staging or production website
  • New: Show unfinished or interrupted clones and allow deletion of them
  • Fix: Convert staging site table prefix to lowercase
  • Fix: Links in certain db rows are not changed with search & replace method if in the same db row is a mail address available.
 

purity

Well-known member
Trusted Uploader
Nov 4, 2018
662
3,027
100
Gemany
How to null (better formatted for better reading):

All this is in the file
wp-staging/apps/Backend/Pro/Licensing/licensing.php
comment out line 28 which is
PHP:
define( 'WPSTG_STORE_URL', 'http://wp-staging.com' );
This will make sure it doesn’t contact their API server for license/update checks.

Replace line 90 which is
PHP:
$response = wp_remote_post( WPSTG_STORE_URL, array('timeout' => 15, 'sslverify' => false, 'body' => $api_params) );
with this:
PHP:
$response = array('response'=>array('code'=>200));

Replace line 102 which is
PHP:
$license_data = json_decode( wp_remote_retrieve_body( $response ) );
with this:
PHP:
$license_data = (object)array('success'=>true, 'license'=>'valid', 'expires'=>'2048-06-06 23:59:59');

Now use any key you like to license/activate the plugin.



There’s a weekly license check which needs to be sorted out…
Find the function
PHP:
weekly_license_check
which is around line 227.
Add as the first line of the function
PHP:
return;

To allow deactivation without contacting the API server, replace line 189 which is
PHP:
$response = wp_remote_post( WPSTG_STORE_URL, array('timeout' => 15, 'sslverify' => false, 'body' => $api_params) );
with this:
PHP:
$response = array('response'=>array('code'=>200));


Replace line 208 which is
PHP:
$license_data = json_decode( wp_remote_retrieve_body( $response ) );
with this:
PHP:
$license_data = (object)array('license'=>'deactivated');
 
  • Like
  • Love
Reactions: 1nf0t3ch and mrbo

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu