• Resolved dteunkens

    (@dteunkens)


    After activating Google Maps Builder (v1.0.1), a shortcode is output in all the publish metaboxen on the admin-side.

    I fixed this by modifying wp-content\plugins\google-maps-builder\admin\class-wordpress-google-maps-admin.php. I just added the following lines at the beginning of method gmb_add_shortcode_to_publish_metabox:

    $screen = get_current_screen();
    if($screen->post_type != 'google_maps')
      return;

    This might be handy for version 1.0.2 🙂

    https://wordpress.org/plugins/google-maps-builder/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Map shortcode appears in all publish metaboxes’ is closed to new replies.