WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #11520, comment 24


Ignore:
Timestamp:
07/25/2011 04:11:13 PM (7 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11520, comment 24

    v1 v2  
    33IMO, that's an arbitrary distinction, since there's no native way to do that in JavaScript. It's just variables that you can use for any purpose.
    44
    5 On the other hand, add_script_data() could be a wrapper for add_inline_script(), if we decide to add it.
     5Conversely, add_script_data() could be a wrapper for add_inline_script(), if we decide to add it.