WPtouch Mobile Plugin
[Plugin: WPtouch] WP_CONTENT_DIR not defined, but WP_PLUGIN_DIR is (1 post)

  1. brasofilo
    Posted 3 years ago #

    The following functions, inside /wptouch/inc/compat.php, don't take into account that WP_PLUGIN and WPMU_PLUGIN (_DIR and _URL) may be defined but WP_CONTENT_DIR is not defined (inside wp-config.php).

    • compat_is_wordpress_mu()
    • compat_get_base_plugin_dir()
    • compat_get_base_plugin_url()

    IMO, they should be returning paths and urls based on WP_PLUGIN_DIR and WP_PLUGIN_URL, as well as the WPMU counterparts.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPtouch Mobile Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic