[wp-hackers] distinguish plugin options?

Benedict Eastaugh ionfish at gmail.com
Fri Jan 23 16:10:52 GMT 2009


Thank you for that generalisation, it's always nice to be told one's a
second-class citizen.

2009/1/23 Mike Schinkel <mikeschinkel at newclarity.net>:
> "Stephen Rider" <wp-hackers at striderweb.com> wrote:
>> Live?  Every time an option is set or called?
>> That's what we'd be looking at in my case....
>
> Sounds like we need hooks in get_option() and set_option()?
>
>> How effective have the efforts been to get people
>> using wp-enqueue for scripts?
>
> I think you can/should put (theme) designers and (plugin) developers in different categories. I expect that designers would be a lot less likely to follow programming best practices than developers would be to follow programming best practices. Actually, from my experience (that I've had even in the past few days) designers can be hostile to programming best practices but I don't think plugin developers would behave the same way.
>
> Build it and they will come?
>
> But then again my assumptions here could be a completely fantasy too. :-)
>
> -Mike Schinkel
> http://mikeschinkel.com/
>
> ----- Original Message -----
> From: "Stephen Rider" <wp-hackers at striderweb.com>
> To: wp-hackers at lists.automattic.com
> Sent: Friday, January 23, 2009 9:04:52 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [wp-hackers] distinguish plugin options?
>
>
> On Jan 22, 2009, at 7:27 PM, Mike Schinkel wrote:
>
>> "Stephen Rider" <wp-hackers at striderweb.com> wrote:
>>>
>>
>>> I think a better system would be to build into
>>> WordPress "core" a file that lists all built-in
>>> options.  It could be a simple text file, or a
>>> PHP file that does nothing but create a hard-coded
>>> array, e.g.:
>>
>> Sounds like maybe I'm envisioning something different than you are
>> trying to achieve. Finding out all options in use by plugins is more
>> interesting than having a list of options in WP-core.
>
> Well, you're right.  Rather than "better" I should have said "more
> readily workable".
>
>> I can easily GREP to find the latter.
>
> Live?  Every time an option is set or called?  That's what we'd be
> looking at in my case....
>
>> I'm of course not against having them available and listed as core,
>> but it would be much more interesting if all options used by all
>> plugins were listed and available.
>
> It would be great, I agree, but I think you're talking about herding
> cats.  ;)  Maybe I underestimate the community.
>
> How effective have the efforts been to get people using wp-enqueue for
> scripts?
>
> Stephen
> _______________________________________________
> 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
>


More information about the wp-hackers mailing list