/**
* Automatic map display.
* If set, the [mappress] shortcode will be prepended/appended to the post body, once for each map
* The shortcode is used so it can be filtered – for example WordPress will remove it in excerpts by default.
*
* @param mixed $content
*/
function the_content($content=““) {
global $post;
global $wp_current_filter;
static $last_post_id;

/**
* There are several WP bugs that prevent correct activation in multisitie:
* http://core.trac.wordpress.org/ticket/14170
* http://core.trac.wordpress.org/ticket/14718)
* These bugs have been open for months. A workaround is to just ‚activate‘ the plugin whenever it runs
* (the tables are only created if they don’t exist already)
*
*/
function init() {
// Load text domain
load_plugin_textdomain(‚mappress‘, false, dirname($this->basename) . ‚/languages‘);