WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kuching
    Member
    Posted 2 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

    cheers

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic