2010-02-23, 12:45:46
The good news is that out of the 6 plugins I have in the post in my signature, only 3 had very minor changes to be made in order to work with the new plugins folder location.
Hat tip to developers: use these define constants anywhere you can when developing plugins. Doing so worked wonderfully for me. (they are defined in common.php)
Hat tip to developers: use these define constants anywhere you can when developing plugins. Doing so worked wonderfully for me. (they are defined in common.php)
Code:
define('GSROOTPATH', get_root_path());
define('GSADMINPATH', get_admin_path());
define('GSADMININCPATH', get_admin_path(). 'inc/');
define('GSPLUGINPATH', get_root_path(). 'plugins/');
define('GSDATAOTHERPATH', get_root_path(). 'data/other/');
define('GSDATAPAGESPATH', get_root_path(). 'data/pages/');
define('GSDATAUPLOADPATH', get_root_path(). 'data/uploads/');
define('GSBACKUPSPATH', get_root_path(). 'backups/');
define('GSTHEMESPATH', get_root_path(). 'theme/');