| Server IP : 89.108.64.180 / Your IP : 216.73.217.95 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dom-schastya.ru/wp-content/plugins/wpforms-lite/includes/ |
Upload File : |
<?php
/**
* To be compatible with both WP 4.9 (that can run on PHP 5.2+) and WP 5.3+ (PHP 5.6+)
* we need to rewrite some core WP classes and tweak our own skins to not use PHP 5.6 splat operator (...$args)
* that were introduced in WP 5.3 in \WP_Upgrader_Skin::feedback().
* This alias is a safeguard to those developers who decided to use our internal class WPForms_Install_Silent_Skin,
* which we deleted.
*
* @since 1.5.6.1
*/
class_alias( 'WPForms\Helpers\PluginSilentUpgraderSkin', 'WPForms_Install_Silent_Skin' );
/**
* Legacy `WPForms_Addons` class was refactored and moved to the new `WPForms\Pro\Admin\Pages\Addons` class.
* This alias is a safeguard to those developers who use our internal class WPForms_Addons,
* which we deleted.
*
* @since 1.6.7
*/
class_alias( wpforms()->pro ? 'WPForms\Pro\Admin\Pages\Addons' : 'WPForms\Lite\Admin\Pages\Addons', 'WPForms_Addons' );
/**
* This alias is a safeguard to those developers who decided to use our internal class WPForms_Smart_Tags,
* which we deleted.
*
* @since 1.6.7
*/
class_alias( wpforms()->pro ? 'WPForms\Pro\SmartTags\SmartTags' : 'WPForms\SmartTags\SmartTags', 'WPForms_Smart_Tags' );
/**
* Get notification state, whether it's opened or closed.
*
* @deprecated 1.4.8
*
* @since 1.4.1
*
* @param int $form_id Form ID.
* @param int $notification_id Notification ID.
*
* @return string
*/
function wpforms_builder_notification_get_state( $form_id, $notification_id ) {
_deprecated_function( __FUNCTION__, '1.4.8 of the WPForms plugin', 'wpforms_builder_settings_block_get_state()' );
return wpforms_builder_settings_block_get_state( $form_id, $notification_id, 'notification' );
}
/**
* Convert bytes to megabytes (or in some cases KB).
*
* @deprecated 1.6.2
*
* @since 1.0.0
*
* @param int $bytes Bytes to convert to a readable format.
*
* @return string
*/
function wpforms_size_to_megabytes( $bytes ) {
_deprecated_function( __FUNCTION__, '1.6.2 of the WPForms plugin', 'size_format()' );
return size_format( $bytes );
}