HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //srv/htdocs/wp-content/themes/Divi/includes/builder/module/helpers/motion/Blur.php
<?php

class ET_Builder_Module_Helper_Motion_Blur extends ET_Builder_Module_Helper_Motion_Sanitizer {

	/**
	 * @param string $value
	 *
	 * @return string
	 */
	protected function sanitize( $value ) {
		$unit = et_pb_get_value_unit( $value );
		$unit = in_array( $unit, $this->get_units() ) ? $unit : $this->get_default_unit();

		return (float) $value . $unit;
	}

	protected function get_units() {
		return array( 'cm', 'em', 'mm', 'in', 'pc', 'pt', 'px', 'rem' );
	}

	protected function get_default_unit() {
		return 'px';
	}
}