I am getting this notice on wordpress
constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /home/myusername/public_html/wordpress/wp-content/plugins/wpsso/lib/com/util.php on line 488.
How do I resolve this?
add_filter( $filter_name, array( __CLASS__, 'filter_value_save' ), PHP_INT_MIN, 1 );
add_filter( $filter_name, array( __CLASS__, 'filter_value_restore' ), PHP_INT_MAX, 1 );
return true;
}
public static function remove_filter_protection( $filter_name ) {
if ( ! has_filter( $filter_name, array( __CLASS__, 'filter_value_restore' ) ) ) {
return false;
}
remove_filter( $filter_name, array( __CLASS__, 'filter_value_save' ), PHP_INT_MIN );
remove_filter( $filter_name, array( __CLASS__, 'filter_value_restore' ), PHP_INT_MAX );