Support » Plugin: FancyBox for WordPress » [Plugin: FancyBox for WordPress] Plugin triggers a fatal error if content folder is different than w

  • 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

    cheers

    http://wordpress.org/extend/plugins/fancybox-for-wordpress/

  • The topic ‘[Plugin: FancyBox for WordPress] Plugin triggers a fatal error if content folder is different than w’ is closed to new replies.