WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WPtouch] WP_CONTENT_DIR not defined, but WP_PLUGIN_DIR is

[Plugin: WPtouch] WP_CONTENT_DIR not defined, but WP_PLUGIN_DIR is

  • 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.

    http://wordpress.org/extend/plugins/wptouch/

  • The topic ‘[Plugin: WPtouch] WP_CONTENT_DIR not defined, but WP_PLUGIN_DIR is’ is closed to new replies.