As suggested, I'm trying to use the dev version with WPMU 2.8.5 but I can't activate the plugin on single blogs or site-wide. I get this error:
Can't use method return value in write context in ../wp-content/plugins/wp-geo/wp-geo.php on line 199
As suggested, I'm trying to use the dev version with WPMU 2.8.5 but I can't activate the plugin on single blogs or site-wide. I get this error:
Can't use method return value in write context in ../wp-content/plugins/wp-geo/wp-geo.php on line 199
Sorry, my mistake, a little bug - try downloading the dev version again.
- Ben
Joss, The new filter I've added means you can override the API key using the following bit of PHP code:
function my_wpgeo_google_api_key( $api_key ) {
return 'MY_API_KEY';
}
add_filter( 'wpgeo_google_api_key', 'my_wpgeo_google_api_key' );
Add that to the functions.php in your theme... or you could add it to the bottom of the wp-geo.php file, but then you would have to re-add it everytime you upgrade the WP Geo plugin.
This topic has been closed to new replies.