| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/ia/wp-content/plugins/wpforms-lite/src/Integrations/SolidCentral/ |
Upload File : |
<?php
namespace WPForms\Integrations\SolidCentral;
/**
* Class SolidCentral.
*
* @since 1.9.2
*/
class SolidCentral {
/**
* Do not allow SolidCentral to set WP_ADMIN to true.
*
* @since 1.9.2
*
* @return void
*/
public function init() {
if ( ! defined( 'ITHEMES_SYNC_SKIP_SET_IS_ADMIN_TO_TRUE' ) ) {
// phpcs:ignore WPForms.Comments.PHPDocDefine.MissPHPDoc, WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
define( 'ITHEMES_SYNC_SKIP_SET_IS_ADMIN_TO_TRUE', true );
return;
}
if ( ! defined( 'WP_ADMIN' ) ) {
// phpcs:ignore WPForms.Comments.PHPDocDefine.MissPHPDoc, WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
define( 'WP_ADMIN', false );
}
// phpcs:enable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
}
}