[wp-trac] [WordPress Trac] #12124: WordPress bundles libraries
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 4 10:00:49 UTC 2010
#12124: WordPress bundles libraries
--------------------------+-------------------------------------------------
Reporter: adrian13 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.8.6
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
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?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12124>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list