Title: Anoying bug
Last modified: August 21, 2016

---

# Anoying bug

 *  Resolved [shpitzyl](https://wordpress.org/support/users/shpitzyl/)
 * (@shpitzyl)
 * [12 years ago](https://wordpress.org/support/topic/anoying-bug/)
 * Hi,
    You have some bug in your plugin. For some reason it collides with the set
   featured image in posts feature. When the plugin is activated and I’m trying 
   to set a featured image there is a blank dummy image in the top of the gallery
   and when trying to pick an image it doesn’t pick anything. The problem is gone
   when deactivating the plugin. I’ve tried it on different themes and the problem
   is in all of them.
 * It’s also worth to mention that the problem is only when trying to set featured
   image to post. It’s fine in the media library and there is no problem to add 
   images to post content
 * [https://wordpress.org/plugins/wp-design-maps-places/](https://wordpress.org/plugins/wp-design-maps-places/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [shpitzyl](https://wordpress.org/support/users/shpitzyl/)
 * (@shpitzyl)
 * [12 years ago](https://wordpress.org/support/topic/anoying-bug/#post-4830590)
 * The plugin also messing up my theme option page.
 * I think I found what is messing up the theme option page. It’s in ui-tabs.css.
   Maybe some of the styles are confilcting with wordpress styles.
 * When commenting the line:
    `wp_enqueue_style('wpdmp-tabs-styles', WPDMP_PLUGIN_URL."
   css/ui-tabs.css", false, WPDMP_VERSION, "screen");`
 * in wpdmp_admin_script(). the page looks fine.
 * The conflict with the featured image is also in that function but I can’t find
   the exact script. All I know is that after commenting the line `add_action('admin_menu','
   wpdmp_admin_script');` I can add images without a problem
 * I hope it helps
 *  Plugin Author [Alexander Herdt](https://wordpress.org/support/users/alexanderherdt/)
 * (@alexanderherdt)
 * [12 years ago](https://wordpress.org/support/topic/anoying-bug/#post-4830641)
 * Thanks for reporting of the bug, will correct this.
 *  Plugin Author [Alexander Herdt](https://wordpress.org/support/users/alexanderherdt/)
 * (@alexanderherdt)
 * [12 years ago](https://wordpress.org/support/topic/anoying-bug/#post-4830643)
 * Hi,
    here is the solution for the featured image thing: In the wpdmp-admin.php,
   replace this (in the wpdmp_admin_script() function): _if ($\_GET[‘page’] != ‘
   wpdmp\_settings’){_ by this: _if ($\_GET[‘page’] != ‘wpdmp\_settings’ && strpos(
   $\_GET[‘page’],’wpdmp\_’)===0){_
 * The always loaded wp_enqueue_media() was the problem.
 *  Thread Starter [shpitzyl](https://wordpress.org/support/users/shpitzyl/)
 * (@shpitzyl)
 * [12 years ago](https://wordpress.org/support/topic/anoying-bug/#post-4830652)
 * Thanks for the fix.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Anoying bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-design-maps-places_80afb1.svg)
 * [WP Design Maps & Places](https://wordpress.org/plugins/wp-design-maps-places/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-design-maps-places/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-design-maps-places/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-design-maps-places/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-design-maps-places/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-design-maps-places/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [shpitzyl](https://wordpress.org/support/users/shpitzyl/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/anoying-bug/#post-4830652)
 * Status: resolved