Support » Plugin: Responsive Lightbox & Gallery » Does not work in symlinked plugin directories

  • Nice work with this flexible plugin!

    Small but, though… it seems front end styles and scripts are not wp_enqued probably when the plugins_url has been customized and the plugins directory is a symbolic link to another directory outside the install.

    When I put the plugins directory directly in the wp-content folder, instead of symlinking plugins to a directory elsewhere, the plugin worked fine– so it appears to not be an issue with wordpress’ customized plugins_url, plugins_dir, and plugindir functionality, rather, an issue with the plugins directory being a symlink.

    Behavior: The front end script/style urls are example.com/wp-content/plugins/full/server/path/to/directory/of/plugin/file.js instead of simply example.com/wp-content/plugins/plugin/file.js, where /full/server/path/to/directory/of/plugin is the full server path of the original directory, not the location of the symlink.

    I looked through the source and didn’t see what was causing this, but hoped you could. Thanks!

    https://wordpress.org/plugins/responsive-lightbox/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does not work in symlinked plugin directories’ is closed to new replies.