[theme-reviewers] Prefixes for included plugin code

Chip Bennett chip at chipbennett.net
Thu Feb 23 14:12:52 UTC 2012


I tend to agree. This Plugin, in particular, is, I think, intended to be
*integrated* into a Theme. It serves little to no purpose as a stand-alone
Plugin, when it is installed within the context of a Theme that, even if it
supports post formats, doesn't support the Plugin's data-entry conventions.

That said, it can also be considered to be a "code framework",
managed/updated separately from the Theme. In such case, I would rather see
the Plugin NOT integrated into the Theme at all, but rather treated as a
*dependency* of the Theme. This would be my preferred approach, as it would
allow the Plugin developer to drive maintenance/development of the Plugin
code, separately from the Theme. Thus, my recommendation would be to keep
the Plugin separate from the Theme, and instruct end users to install the
Plugin as part of the Theme installation/setup. (There are even scripts
available for "automating" download/installation of such dependent Plugins.)

Chip

On Thu, Feb 23, 2012 at 7:47 AM, Edward Caissie <edward.caissie at gmail.com>wrote:

> My first thoughts on this ...
>
> ... I like the idea of adding functionality; but given the code and how it
> is written if you are considering this as a drop in bit-to-bit exact copy
> (off-by-default) then using a call within your theme to activate and use, I
> would be fine to leave the plugin code as is.
>
> If your intent is to include the code as an "inspiration" to enhance your
> theme's current functionality in a "on-by-default" manner then I would
> expect it to be properly prefixed (and internationalized as needed)
> matching your theme's current conventions ... and, of course, attributed in
> a suitable fashion, too.
>
>
> Cais.
>
>
> On Wed, Feb 22, 2012 at 9:04 PM, Sayontan Sinha <sayontan at gmail.com>wrote:
>
>> Hi,
>> I would like to include code from this plugin:
>> http://alexking.org/blog/2011/10/25/wordpress-post-formats-admin-ui in
>> my theme because I support a few post formats. I have a few questions in
>> this regard:
>>
>>    1. Would that be permitted from a functionality point of view (re:
>>    plugin functionality vs. theme functionality arguments)?
>>    2. If permitted, can I retain the plugin's own prefixes for its
>>    functions?
>>
>> Thanks,
>> Sayontan
>>
>> --
>> Sayontan Sinha
>> http://mynethome.net | http://mynethome.net/blog
>> --
>> Beating Australia in Cricket is like killing a celebrity. The death gets
>> more coverage than the crime.
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120223/7e3ec5f0/attachment.htm>


More information about the theme-reviewers mailing list