[theme-reviewers] Helping theme review
Chip Bennett
chip at chipbennett.net
Wed Jun 25 11:14:41 UTC 2014
Not required.
On Jun 25, 2014 4:20 AM, "Anders Norén" <anders at andersnoren.se> wrote:
> Is it required, though? Prayas is referring to my theme, Baskerville:
> https://themes.trac.wordpress.org/ticket/19154. I use both
> wp_register_script() and wp_enqueue_script() because I think it improves
> the readability of functions.php.
>
> Anders
>
> On 25 Jun 2014, at 11:13, nithin kr wrote:
>
> If wp_register_script() and wp_enqueue_script() are used in the same
>> context/function, then its better to omit wp_register_script().
>>
>>
>> On Wed, Jun 25, 2014 at 1:46 PM, Prayas Sapkota <sapkotaprayas at gmail.com>
>> wrote:
>>
>> While I was reviewing a theme I found wp_register_script function along
>>> with wp_enqueue_script(). I was once told to use only wp_enqueue_script()
>>> to enqueue scripts files and not wp_register_scripts(). Is it ok to use
>>> wp_register_script() on a theme?
>>>
>>> Thanks,
>>> Prayas Sapkota.
>>>
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>>
>>>
>>
>> --
>>
>> *GNU/LINUX UserFree software <http://fsf.org> is the matter of liberty
>> not
>> price. *
>> _______________________________________________
>> 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/20140625/92ec7317/attachment.html>
More information about the theme-reviewers
mailing list