• In lightgallery/lightgallery.php on line 37, PluginURL is set to get_bloginfo( 'wpurl' ) . '/wp-content/plugins/' . dirname( plugin_basename( $this->PluginFile ) ). This prevents correct directory URL path lookup when WordPress is installed in a subdirectory.

    Changing it to plugin_dir_url( __FILE__ ) fixes the issue, and is much more elegant ??

  • The topic ‘PluginURL’ is closed to new replies.