mirror of
https://ghproxy.net/https://github.com/elementor/wp2static-addon-netlify.git
synced 2025-10-04 07:21:38 +08:00
fix refs to core
This commit is contained in:
parent
08f8fe701a
commit
8b58f1b515
3 changed files with 3 additions and 3 deletions
|
@ -219,7 +219,7 @@ class Controller {
|
|||
|
||||
$personal_access_token =
|
||||
$_POST['accessToken'] ?
|
||||
\WP2Static\Controller::encrypt_decrypt(
|
||||
\WP2Static\CoreOptions::encrypt_decrypt(
|
||||
'encrypt',
|
||||
sanitize_text_field( $_POST['accessToken'] )
|
||||
) : '';
|
||||
|
|
|
@ -59,7 +59,7 @@ class Deployer {
|
|||
|
||||
// Send digest to Netlify to confirm which files have changed
|
||||
$site_id = Controller::getValue( 'siteID' );
|
||||
$access_token = \WP2Static\Controller::encrypt_decrypt(
|
||||
$access_token = \WP2Static\CoreOptions::encrypt_decrypt(
|
||||
'decrypt',
|
||||
Controller::getValue( 'accessToken' )
|
||||
);
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
name="<?php echo $view['options']['accessToken']->name; ?>"
|
||||
type="password"
|
||||
value="<?php echo $view['options']['accessToken']->value !== '' ?
|
||||
\WP2Static\Controller::encrypt_decrypt('decrypt', $view['options']['accessToken']->value) :
|
||||
\WP2Static\CoreOptions::encrypt_decrypt('decrypt', $view['options']['accessToken']->value) :
|
||||
''; ?>"
|
||||
/>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue