Support » Plugin: MapPress Easy Google Maps » sensor Parameter

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author chrisvrichardson



    I looked at your site. For some reason all of the javascript URL parameters are stripped (even from the javascripts that aren’t for MapPress). For example, all of the scripts normally have a version like “?ver=1234”.

    The sensor parameter is also stripped, which is what gives the error.

    Could something else be modifying the URLs? The first thing to check would be two switch to a standard theme (like 2012) and deactivate your other plugins for a moment. If that fixes it you can reactivate to find the issue.

    Hi Chris,

    thanks for giving me the right direction. The problem occured due to the plugin Better WP Security. There you got one flag (under the Tweaks tab):

    Display random version number to all non-administrative users
    -Displays a random version number to visitors who are not logged in at all points where version number must be used and removes the version completely from where it can.

    After deactivating this option everthing works perfectly.

    thanks again

    Hi Chris,

    I just upgraded to WP 3.5.1 and now have the same problem. Alas deactivating all other plugins did not help.

    You can view the error here:

    Any help much appreciated.


    Do you use a snippet like this?

    add_filter( 'script_loader_src', 'delete_script_version', 15, 1 );
    add_filter( 'style_loader_src', 'delete_script_version', 15, 1 );
    if( !function_exists("delete_script_version")) {
    	  function delete_script_version( $src ){
    	      $parts = explode( '?', $src );
    	      return $parts[0];

    I could cause this error.
    Add “ver” just after the question mark in this code.

    Best regards.

    Hey Geoffrey,

    Thank you for your input. I downloaded my complete root folder and did a full text search via notepad++.

    Found nothing, no such snippet anywhere.

    Might you have another idea?

    Best regards,


    Can confirm (for me at least) a similar code Geoffrey suggested from my theme functions file fixed the issue. Thank you for providing.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘sensor Parameter’ is closed to new replies.