FancyBox for WordPress
Plugin triggers a fatal error if content folder is different than w (1 post)

  1. kuching
    Posted 4 years ago #

    on line 42 and 43 of fancybox.php there are variables defining the plugin folder for fancybox and they hardcode "wp-content" as the folder to look for plugins

    however, WordPress allow installations to rename the "wp-content" folder into anything else, and functions fetching content or files in such folder (and its related subfolders as "plugins") should consider this

    please refer to http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

    for alternative ways to get the content folder or plugins folder

    as it is now, the plugin will trigger a fatal error upon activation, since it won't find the plugin folder in installations where the wp-content folder has been renamed



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FancyBox for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic