[wp-trac] [WordPress Trac] #11356: Folder for third-party libraries
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 11 01:12:08 UTC 2009
#11356: Folder for third-party libraries
------------------------------------+---------------------------------------
Reporter: ontic | Type: enhancement
Status: new | Priority: normal
Milestone: Future Release | Component: General
Version: | Severity: normal
Keywords: third-party zend close |
------------------------------------+---------------------------------------
Changes (by nacin):
* keywords: third-party zend => third-party zend close
Comment:
Replying to [comment:4 ontic]:
> @nacin: Can you explain why you think this shouldn't be part of the
core? Just curious.
For starters, for exactly what greenshady said. No need to reinvent the
wheel. The first thing that came to mind is that this isn't just plugin
material to implement it, but they're plugins themselves.
You can also create this directory on your own, or use the wp-content
directory, etc. You can probably build your own plugin to manage and keep
updated vendors folders/files, even. Check out the filesystem and HTTP
APIs.
Using (function|file|class)_exists to ensure dependencies across plugins
already happens, so nothing new there. You could also check which plugins
are installed and what version they are at.
Speaking of reinventing the wheel, it would make sense for your theme
extensions to be loaded as plugins.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11356#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list