[wp-trac] [WordPress Trac] #11526: JavaScript l10n inconsistency

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 19 14:11:34 UTC 2011


#11526: JavaScript l10n inconsistency
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  nbachiyski
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  Future Release
Component:  I18N            |     Version:  2.9
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------------
Changes (by jczorkmid):

 * cc: jpenney@… (added)


Comment:

 +1 to having some sort of message logged when these functions are mis-
 used.

 I've encountered a numerous issues related to use of `wp_*_script`
 functions being called before `init`.  This includes `wp_dequeue_script`
 and `wp_deregister_script` (basically anything that causes `$wp_scripts`
 to initialize early).

 Should the same apply to the `wp_*_style` functions as well?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11526#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list