Title: Incorrect dependency on pluginSetting injection
Last modified: August 30, 2016

---

# Incorrect dependency on pluginSetting injection

 *  Resolved [greghaygood](https://wordpress.org/support/users/greghaygood/)
 * (@greghaygood)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/incorrect-dependency-on-pluginsetting-injection/)
 * I’ve installed Waving on a site that has some other lightbox scripts (which I
   can’t remove just yet), and the Waving lightboxes aren’t working. After digging
   into the code, it looks like there’s an incorrect dependency specified for the
   pluginSetting snippet. In waving-portfolio.php, line 159, it specifies ‘lightbox-
   script’ as the handle, but that seems to be conflicting with the other plugins.
   If I change the handle to ‘waving-portfolio-lightbox-script’, it works as expected.
 * [https://wordpress.org/plugins/waving-portfolio/](https://wordpress.org/plugins/waving-portfolio/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [aelbuni](https://wordpress.org/support/users/aelbuni/)
 * (@aelbuni)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/incorrect-dependency-on-pluginsetting-injection/#post-6575476)
 * Thanks for catching this.
 * You are totally right, I am going to include it along with other fixes in the
   next release.
 *  Plugin Author [aelbuni](https://wordpress.org/support/users/aelbuni/)
 * (@aelbuni)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/incorrect-dependency-on-pluginsetting-injection/#post-6575481)
 * This has been fixed in the new release 1.2.2
 * The new release also includes a new TinyMCE editor plugin for easier generation
   of custom portfolios.
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Incorrect dependency on pluginSetting injection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/waving-portfolio_8693a7.svg)
 * [Waving Portfolio](https://wordpress.org/plugins/waving-portfolio/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/waving-portfolio/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/waving-portfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/waving-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/waving-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/waving-portfolio/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [aelbuni](https://wordpress.org/support/users/aelbuni/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/incorrect-dependency-on-pluginsetting-injection/#post-6575481)
 * Status: resolved