Skip to content

Commit ded5526

Browse files
committed
Mirror
1 parent 4bb6a7a commit ded5526

File tree

117 files changed

+245747
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+245747
-58
lines changed

a

Whitespace-only changes.

acf.php

Lines changed: 21 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -23,56 +23,27 @@
2323
exit; // Exit if accessed directly.
2424
}
2525

26-
add_filter( 'pre_http_request', 'custom_acf_request_intercept', 10, 3 );
27-
function custom_acf_request_intercept( $preempt, $parsed_args, $url ) {
28-
// Intercept ACF activation request
29-
if ( strpos( $url, 'https://connect.advancedcustomfields.com/v2/plugins/activate?p=pro' ) !== false ) {
30-
$response = array(
31-
'headers' => array(),
32-
'body' => json_encode(array(
33-
"message" => "Licence key activated. Updates are now enabled",
34-
"license" => "E7B0U5F7CC8189E6ACL19DD6F6E1B662",
35-
"license_status" => array(
36-
"status" => "active",
37-
"lifetime" => true,
38-
"name" => "Agency",
39-
"view_licenses_url" => "https://www.advancedcustomfields.com/my-account/view-licenses/"
40-
),
41-
"status" => 1
42-
)),
43-
'response' => array(
44-
'code' => 200,
45-
'message' => 'OK'
46-
)
47-
);
48-
return $response;
49-
}
50-
51-
// Intercept ACF validation request
52-
if ( strpos( $url, 'https://connect.advancedcustomfields.com/v2/plugins/validate?p=pro' ) !== false ) {
53-
$response = array(
54-
'headers' => array(),
55-
'body' => json_encode(array(
56-
"expiration" => 864000,
57-
"license_status" => array(
58-
"status" => "active",
59-
"lifetime" => true,
60-
"name" => "Agency",
61-
"view_licenses_url" => "https://www.advancedcustomfields.com/my-account/view-licenses/"
62-
),
63-
"status" => 1
64-
)),
65-
'response' => array(
66-
'code' => 200,
67-
'message' => 'OK'
68-
)
69-
);
70-
return $response;
71-
}
72-
73-
// Proceed with the original request if the URL doesn't match
74-
return $preempt;
75-
}
26+
//nulled raz0r
27+
$lic_data = base64_encode(
28+
maybe_serialize(
29+
array(
30+
'key' => '********',
31+
'url' => home_url(),
32+
)
33+
)
34+
);
35+
update_option('acf_pro_license', $lic_data);
36+
update_option('acf_pro_license_status', array('status' => 'active', 'next_check' => time() * 9));
37+
add_action('init', function () {
38+
add_filter('pre_http_request', function ($pre, $url, $request_args) {
39+
if (is_string($url) && strpos($url, 'https://connect.advancedcustomfields.com/') !== false) {
40+
return array('response' => array('code' => 200, 'message' => 'OK'));
41+
}
42+
return $pre;
43+
}, 10, 3);
44+
});
45+
delete_site_transient( 'update_plugins' );
46+
delete_transient( 'acf_plugin_updates' );
7647

7748
if ( ! class_exists( 'ACF' ) ) {
7849

assets/inc/select2/3/select2-spinner.gif

100755100644
File mode changed.

assets/inc/select2/3/select2.css

100755100644
File mode changed.

assets/inc/select2/3/select2.js

100755100644
File mode changed.

assets/inc/select2/3/select2.min.js

100755100644
File mode changed.

assets/inc/select2/3/select2.png

100755100644
File mode changed.

assets/inc/select2/3/select2x2.png

100755100644
File mode changed.

assets/inc/select2/4/select2.css

100755100644
File mode changed.

assets/inc/select2/4/select2.full.js

100755100644
File mode changed.

0 commit comments

Comments
 (0)