[wp-hackers] SWFobject not included in core?

Viper007Bond viper at viper007bond.com
Wed Feb 11 00:56:31 GMT 2009


What does it matter? The WP API, if properly used, ensures only one copy,
the latest version, is used.

I don't see what the problem is. WordPress can't be expected to bundle every
JS package known to man. Plus why SWFObject over something else? What about
all of the blogs that don't use it? etc.

On Tue, Feb 10, 2009 at 2:35 PM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:

> Yes, it can be bundled but it's a shame to have so many copies of the same
> library lying around for a commonly used library (i.e. man with 2 watches
> never really knows what time it is.)
>
> JMTCW
>
> -Mike Schinkel
> http://mikeschinkel.com/
>
> ----- Original Message -----
> From: "scribu" <scribu at gmail.com>
> To: wp-hackers at lists.automattic.com
> Sent: Tuesday, February 10, 2009 5:20:46 PM GMT -05:00 US/Canada Eastern
> Subject: Re: [wp-hackers] SWFobject not included in core?
>
> On Tue, Feb 10, 2009 at 10:54 PM, Mike Schinkel <
> mikeschinkel at newclarity.net
> > wrote:
>
> > >  "only libraries that are used in core are distributed as part of the
> > core package"
> >
> > Fair enough.
> >
> > OTOH, IMO its' an unfortunate constraint for those things that could be
> > used by a lot of plugins.
> >
>
> If a certain plugin requires it, the plugin author can bundle the lib with
> the plugin and call it using wp_enqueue_script() so that there are no
> conflicts.
>
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list