id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 22303 "Please parse a ""vendor"" file" remicollet "Hi, I'm working on improving Wordpress packaging in fedora. One of our need is to allow the use of system libraries instead of bundled copy (forbidden by Guidelines). I would like to propose, as various projects already, to include a ""vendor"" file. Goals: - without this file: no change - with this file: use constant from it - allow to define patch for each library (rather than a global WPINC) Note: this is not the same as wp-settings, which are user configurable settings, while ""vendor"" are system configuration (not to be altered by users) Work proposal. (probably) in default-constants.php if (file_exists('vendor.php')) include_once('vendor.php'); For PHPMailer (for exemple) if (!defined('WP_PHPMAILER_INC')) define('WP_PHPMAILER_INC', ABSPATH . WPINC); And of course, require_once WP_PHPMAILER_INC . '/class-smtp.php'; Using this, we could package wordpress in a simpler way, without altering provided sources, just adding this vendor file. For example, see what have be done in GLPI https://forge.indepnet.net/projects/glpi/wiki/GlpiPackaging If you accept this feature, I will work on it and submit the patches (probably various, one per library, as I will progress on this work). " enhancement closed normal General normal maybelater