Changes between Initial Version and Version 1 of Ticket #21025, comment 7

Timestamp:
06/26/12 21:29:57 (11 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21025, comment 7

    initial v1  
    1 If we are going to continue supporting "bad" plugins, wouldn't it be better to abstract this 
    2  
    3 {{{ 
    4 did_action( 'init' ) && $scripts->localize( 'handle', 'handleL10n', array(...) ); 
    5 }}} 
    6  
    7 into another method? So add `localise_on_init()` or similar to WP_Scripts and call that from script-loader. 
     1Oops, wrong ticket.