| Server IP : 85.155.190.233 / Your IP : 216.73.216.103 Web Server : nginx/1.24.0 System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : wp-moonbloom ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/moonbloom/wp-content/themes/astra/inc/ |
Upload File : |
<?php
/**
* This file ensures that it is w.org Astra theme.
*
* @package Astra
* @since Astra 4.8.4
*/
/**
* Function to filter input of Custom Layout's code editor.
*
* @param string $output Output.
* @param string $key Key.
* @return string
* @since 4.8.4
*/
function astra_default_filter_input( $output, $key ) {
return filter_input( INPUT_POST, $key, FILTER_DEFAULT ); // phpcs:ignore WordPressVIPMinimum.Security.PHPFilterFunctions.RestrictedFilter -- Default filter after all other cases, Keeping this filter for backward compatibility.
}
add_filter( 'astra_php_default_filter_input', 'astra_default_filter_input', 10, 2 );