turn int|float */ public static function filter_number( $value ) { return filter_var( $value, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION ); } /** * Sanitize RGBA colors * * @static * @since 0.8.5 * @param string $value The value to be sanitized. * @return string */ public static function rgba( $value ) { $color = \ariColor::newColor( $value ); return $color->toCSS( 'rgba' ); } /** * Sanitize colors. * * @static * @since 0.8.5 * @param string $value The value to be sanitized. * @return string */ public static function color( $value ) { // If the value is empty, then return empty. if ( '' === $value ) { return ''; } // If transparent, then return 'transparent'. if ( is_string( $value ) && 'transparent' === trim( $value ) ) { return 'transparent'; } // Instantiate the object. $color = \ariColor::newColor( $value ); // Return a CSS value, using the auto-detected mode. return $color->toCSS( $color->mode ); } /** * DOES NOT SANITIZE ANYTHING. * * @static * @since 0.5 * @param int|string|array $value The value to be sanitized. * @return int|string|array */ public static function unfiltered( $value ) { return $value; } } $value = get_option( $field['settings'], $field['default'] ); } } return $value; } } $value = get_option( $field['settings'], $field['default'] ); } } return $value; } }
Fatal error: Uncaught Error: Class "Kirki\Compatibility\Values" not found in /htdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Init.php:52 Stack trace: #0 /htdocs/wp-content/plugins/kirki/kirki.php(76): Kirki\Compatibility\Init->__construct() #1 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #2 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #3 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #4 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #5 /htdocs/index.php(17): require('/htdocs/wp-blog...') #6 {main} thrown in /htdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Init.php on line 52