test
Server : Apache System : Linux festive-vaughan.27-254-111-205.plesk.page 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 User : acaindustrial ( 10114) PHP Version : 8.2.25 Disable Function : opcache_get_status Directory : /var/www/vhosts/acaindustrial.co.th/httpdocs/wp-content/plugins/wordpress-importer/ |
Upload File : |
<?php /** * Implementation for WordPress functions missing in older WordPress versions. * * @package WordPress * @subpackage Importer */ if ( ! function_exists( 'wp_slash_strings_only' ) ) { /** * Adds slashes to only string values in an array of values. * * Compat for WordPress < 5.3.0. * * @since 0.7.0 * * @param mixed $value Scalar or array of scalars. * @return mixed Slashes $value */ function wp_slash_strings_only( $value ) { return map_deep( $value, 'addslashes_strings_only' ); } } if ( ! function_exists( 'addslashes_strings_only' ) ) { /** * Adds slashes only if the provided value is a string. * * Compat for WordPress < 5.3.0. * * @since 0.7.0 * * @param mixed $value * @return mixed */ function addslashes_strings_only( $value ) { return is_string( $value ) ? addslashes( $value ) : $value; } }