/
home
/
vianto5
/
ceibaresidencial.mx
/
wp-content
/
plugins
/
google-site-kit
/
includes
/
Core
/
Util
/
/home/vianto5/ceibaresidencial.mx/wp-content/plugins/google-site-kit/includes/Core/Util
mkdir
upload
Name
Size
Mode
Actions
Activation_Flag.php
3324
0644
edit
dl
rm
Activation_Notice.php
4206
0644
edit
dl
rm
Auto_Updates.php
4390
0644
edit
dl
rm
BC_Functions.php
6507
0644
edit
dl
rm
Block_Support.php
1354
0644
edit
dl
rm
Collection_Key_Cap_Filter.php
1411
0644
edit
dl
rm
Current_Screen.php
987
0644
edit
dl
rm
Date.php
2711
0644
edit
dl
rm
Developer_Plugin_Installer.php
5574
0644
edit
dl
rm
Entity.php
3278
0644
edit
dl
rm
Entity_Factory.php
21124
0644
edit
dl
rm
Exit_Handler.php
836
0644
edit
dl
rm
Feature_Flags.php
2381
0644
edit
dl
rm
Google_Icon.php
1880
0644
edit
dl
rm
Google_URL_Matcher_Trait.php
3096
0644
edit
dl
rm
Google_URL_Normalizer.php
1637
0644
edit
dl
rm
Health_Checks.php
4088
0644
edit
dl
rm
Input.php
2826
0644
edit
dl
rm
Method_Proxy_Trait.php
1118
0644
edit
dl
rm
Migrate_Legacy_Keys.php
1109
0644
edit
dl
rm
Migration_1_3_0.php
3039
0644
edit
dl
rm
Migration_1_8_1.php
7016
0644
edit
dl
rm
Migration_1_123_0.php
4647
0644
edit
dl
rm
Migration_1_129_0.php
4111
0644
edit
dl
rm
Migration_1_150_0.php
3191
0644
edit
dl
rm
Migration_1_163_0.php
3157
0644
edit
dl
rm
Migration_1_177_0.php
2861
0644
edit
dl
rm
Migration_1_185_0.php
2953
0644
edit
dl
rm
Plugin_Status.php
1390
0644
edit
dl
rm
Requires_Javascript_Trait.php
1116
0644
edit
dl
rm
Reset.php
9968
0644
edit
dl
rm
Reset_Persistent.php
666
0644
edit
dl
rm
REST_Entity_Search_Controller.php
3416
0644
edit
dl
rm
Sanitize.php
1068
0644
edit
dl
rm
Scopes.php
2655
0644
edit
dl
rm
Sort.php
1123
0644
edit
dl
rm
Synthetic_WP_Query.php
4182
0644
edit
dl
rm
Uninstallation.php
4399
0644
edit
dl
rm
URL.php
5581
0644
edit
dl
rm
WP_Context_Switcher_Trait.php
2176
0644
edit
dl
rm
WP_Query_Factory.php
10000
0644
edit
dl
rm
Edit:
/home/vianto5/ceibaresidencial.mx/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php
(2826B)
<?php /** * Class Google\Site_Kit\Core\Util\Input * * @package Google\Site_Kit\Core\Util * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Class for input superglobal access. * * @since 1.1.2 * @access private * @ignore */ class Input { /** * Map of input type to superglobal array. * * For use as fallback only. * * @since 1.1.4 * @var array */ protected $fallback_map; /** * Constructor. * * @since 1.1.4 */ public function __construct() { // Fallback map for environments where filter_input may not work with ENV or SERVER types. $this->fallback_map = array( INPUT_ENV => $_ENV, INPUT_SERVER => $_SERVER, // phpcs:ignore WordPress.VIP.SuperGlobalInputUsage ); } /** * Gets a specific external variable by name and optionally filters it. * * @since 1.1.2 * @since 1.92.0 Changed default value of $options parameter to 0. * * @link https://php.net/manual/en/function.filter-input.php * * @param int $type One of INPUT_GET, INPUT_POST, INPUT_COOKIE, INPUT_SERVER, or INPUT_ENV. * @param string $variable_name Name of a variable to get. * @param int $filter [optional] The ID of the filter to apply. The manual page lists the available filters. * @param mixed $options [optional] Associative array of options or bitwise disjunction of flags. * If filter accepts options, flags can be provided in "flags" field of array. * @return mixed Value of the requested variable on success, * FALSE if the filter fails, * NULL if the $variable_name variable is not set. * * If the flag FILTER_NULL_ON_FAILURE is used, it returns FALSE if the variable is not set * and NULL if the filter fails. */ public function filter( $type, $variable_name, $filter = FILTER_DEFAULT, $options = 0 ) { $value = filter_input( $type, $variable_name, $filter, $options ); // Fallback for environments where filter_input may not work with specific types. if ( // Only use this fallback for affected input types. isset( $this->fallback_map[ $type ] ) // Only use the fallback if the value is not-set (could be either depending on FILTER_NULL_ON_FAILURE). && in_array( $value, array( null, false ), true ) // Only use the fallback if the key exists in the input map. && array_key_exists( $variable_name, $this->fallback_map[ $type ] ) ) { return filter_var( $this->fallback_map[ $type ][ $variable_name ], $filter, $options ); } return $value; } }
Save
cmd:
run