[wp-trac] [WordPress Trac] #27068: JS var thickboxL10n is added twice

WordPress Trac noreply at wordpress.org
Sat Feb 8 09:12:49 UTC 2014


#27068: JS var thickboxL10n is added twice
---------------------------+-----------------------------
 Reporter:  finalwebsites  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  I18N           |    Version:  3.8.1
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Hi,

 If you enable thickbox using


 {{{
 wp_enqueue_script('thickbox');
 wp_enqueue_style('thickbox');
 }}}

 Wordpress inserts the text/labels in your blog's language into the footer
 like:

 {{{
 var thickboxL10n = {"next":"Volgende >","prev":"<
 Vorige","image":"Afbeelding","of":"van","close":"Sluiten","noiframes":"Deze
 eigenschap vereist inline frames. Je hebt inline frames uitgeschakeld of
 je browser ondersteunt dit
 niet.","loadingAnimation":"http:\/\/www.domein.nl\/wp-
 includes\/js\/thickbox\/loadingAnimation.gif"};
 }}}

 Since version 3.8 this code is added twice into the footer.
 Anything else related to thickbox is okay

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27068>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list