403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www1/wp-content/plugins/really-simple-ssl/settings/src/LetsEncrypt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www1/wp-content/plugins/really-simple-ssl/settings/src/LetsEncrypt/Generation.js
import {useState, useEffect} from "@wordpress/element";
import { __ } from '@wordpress/i18n';
import * as rsssl_api from "../utils/api";
import {dispatch,} from '@wordpress/data';
import Notices from "../Settings/Notices";
import update from 'immutability-helper';
import {useUpdateEffect} from 'react-use';
import sleeper from "../utils/sleeper";
import Hyperlink from "../utils/Hyperlink";

import {
    Button,
} from '@wordpress/components';

const Generation = (props) => {
    const action = props.action;

    if (!action) {
        return (<></>);
    }

    const handleSkipDNS = () => {
        return rsssl_api.runLetsEncryptTest('skip_dns_check').then( ( response ) => {
            props.restartTests();
            const notice = dispatch('core/notices').createNotice(
                'success',
                __( 'Skip DNS verification ', 'really-simple-ssl' ),
                {
                    __unstableHTML: true,
                    id: 'rsssl_skip_dns',
                    type: 'snackbar',
                    isDismissible: true,
                }
            ).then(sleeper(3000)).then(( response ) => {
                dispatch('core/notices').removeNotice('rsssl_skip_dns');
            });
        });
    }

    return (
        <div className="rsssl-test-results">
            { (action.status === 'error' && action.action==='verify_dns' ) &&
                <>
                    <p>{ __("We could not check the DNS records. If you just added the record, please check in a few minutes.","really-simple-ssl")}&nbsp;
                                    <Hyperlink target="_blank" text={__("You can manually check the DNS records in an %sonline tool%s.","really-simple-ssl")}
                                    url="https://mxtoolbox.com/SuperTool.aspx"/>
                        { __("If you're sure it's set correctly, you can click the button to skip the DNS check.","really-simple-ssl")}&nbsp;
                    </p>
                    <Button
                        variant="secondary"
                        onClick={() => handleSkipDNS()}
                        >
                        { __( 'Skip DNS check', 'really-simple-ssl' ) }
                    </Button>
                </>
            }
        </div>
    );
}

export default Generation;

Youez - 2016 - github.com/yon3zu
LinuXploit