Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi/includes/builder/module/helpers/motion
File: Sanitizer.php
<?php
[0] Fix | Delete
[1] Fix | Delete
abstract class ET_Builder_Module_Helper_Motion_Sanitizer extends ET_Builder_Module_Helper_Motion {
[2] Fix | Delete
/**
[3] Fix | Delete
* @param string $value
[4] Fix | Delete
*
[5] Fix | Delete
* @return string
[6] Fix | Delete
*/
[7] Fix | Delete
public function getStartValue( $value ) {
[8] Fix | Delete
return $this->sanitize( parent::getStartValue( $value ) );
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* @param string $value
[13] Fix | Delete
* @param string $multi_value
[14] Fix | Delete
*
[15] Fix | Delete
* @return string
[16] Fix | Delete
*/
[17] Fix | Delete
public function setStartValue( $value, $multi_value ) {
[18] Fix | Delete
return parent::setStartValue( $this->sanitize( $value ), $multi_value );
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
/**
[22] Fix | Delete
* @param string $value
[23] Fix | Delete
*
[24] Fix | Delete
* @return string
[25] Fix | Delete
*/
[26] Fix | Delete
public function getMiddleValue( $value ) {
[27] Fix | Delete
return $this->sanitize( parent::getMiddleValue( $value ) );
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
/**
[31] Fix | Delete
* @param string $value
[32] Fix | Delete
* @param string $multi_value
[33] Fix | Delete
*
[34] Fix | Delete
* @return string
[35] Fix | Delete
*/
[36] Fix | Delete
public function setMiddleValue( $value, $multi_value ) {
[37] Fix | Delete
return parent::setMiddleValue( $this->sanitize( $value ), $multi_value );
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
/**
[41] Fix | Delete
* @param string $value
[42] Fix | Delete
*
[43] Fix | Delete
* @return string
[44] Fix | Delete
*/
[45] Fix | Delete
public function getEndValue( $value ) {
[46] Fix | Delete
return $this->sanitize( parent::getEndValue( $value ) );
[47] Fix | Delete
}
[48] Fix | Delete
[49] Fix | Delete
/**
[50] Fix | Delete
* @param string $value
[51] Fix | Delete
* @param string $multi_value
[52] Fix | Delete
*
[53] Fix | Delete
* @return string
[54] Fix | Delete
*/
[55] Fix | Delete
public function setEndValue( $value, $multi_value ) {
[56] Fix | Delete
return parent::setEndValue( $this->sanitize( $value ), $multi_value );
[57] Fix | Delete
}
[58] Fix | Delete
[59] Fix | Delete
abstract protected function sanitize( $value );
[60] Fix | Delete
}
[61] Fix | Delete
[62] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function