WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. brasofilo
    Member
    Posted 1 year 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.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic