wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Values from the General -> Limits panel should be converted properly via intval() #137

Closed ernestmarcinko closed 2 months ago

ernestmarcinko commented 3 months ago

In some cases the type check causes a fatal error when a non-numeric character or empty string is entered. The type coercion fails for those cases.

Make sure an explicit integer conversion is performed for each value.