WordPress Mobile Pack
Incorrect location of plugin directory (2 posts)

  1. Small bugfix for you. My plugin directory is not in the default directory and this plugin throws a fatal error.

    On line 40 of mobile_pack_base/functions.php it should say:

    $wp_mobile_pack_dir = WP_PLUGIN_DIR . '/wordpress-mobile-pack';

    instead of

    $wp_mobile_pack_dir = WP_CONTENT_DIR . '/plugins/wordpress-mobile-pack';



  2. AndreaTrasatti
    Plugin Author

    Posted 5 years ago #

    thanks for the tip. We had some problems in a recent release where we changed some constants and this broke compatibility with pre-2.6 WordPress (and yes, apparently a lot of people still use it!).

    I will have to review this and make sure it does not break other sites, but of course your tip makes a lot of sense.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Mobile Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic