[theme-reviewers] Helping theme review
anders at andersnoren.se
Wed Jun 25 09:20:04 UTC 2014
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.
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>
>> While I was reviewing a theme I found wp_register_script function
>> with wp_enqueue_script(). I was once told to use only
>> to enqueue scripts files and not wp_register_scripts(). Is it ok to
>> wp_register_script() on a theme?
>> Prayas Sapkota.
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
> *GNU/LINUX UserFree software <http://fsf.org> is the matter of liberty
> price. *
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
More information about the theme-reviewers