Opened 15 years ago
Closed 15 years ago
#12124 closed defect (bug) (wontfix)
WordPress bundles libraries
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.8.6 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Looking at the WordPress source code I see a lot of bundled libraries which I already have installed on my system (not all of them, but some). Looking at the Wordpress 2.8 branch I have identified following files (only in the wp-includes directory) which seem to be, more or less, verbatim copies of their respective upstream:
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/atomlib.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-IXR.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-phpass.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-phpmailer.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-pop3.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-simplepie.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-smtp.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/class-snoopy.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/gettext.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/kses.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/rss.php
- http://core.trac.wordpress.org/browser/branches/2.8/wp-includes/streams.php
Is there a way to use the already installed, system wide available,
libraries? The already installed libraries have the advantage that they are maintained and updated by my Linux distribution and in case of a security whole in one of them I need to fix it in only one place (and this is automatically done by my Linux distribution). I would also reduce unnecessary code duplication if every application would use the system wide library and if not every application would provide their own copy of the same code.
Is using the system wide available libraries something that can be achieved with WordPress?
Aside from the technicalities of doing this for the many different server environments we support, WP typically has a faster update cycle than Linux distros. Library updates aren't always backward compatible either.