cyberhobo/wordpress-geo-mashup

Improve missing method error

Closed this issue · 1 comments

Currently if the geo_mashup_content query variable is given an invalid value you get a message like this:

PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class 'GeoMashup' does not have a method 'eraqre_znc' in /wp-content/plugins/geo-mashup/geo-mashup.php on line 523

It seems right to log these events, which are probably automated probes for security flaws, but we could provide a better message.

Fixed by d52cb2d