@@ 567-570 (lines=4) @@ | ||
564 | if (isset($this->script_handles_with_data[ $script_handle ])) { |
|
565 | global $wp_scripts; |
|
566 | $unset_handle = false; |
|
567 | if ($wp_scripts->get_data($script_handle, 'data')) { |
|
568 | unset($wp_scripts->registered[ $script_handle ]->extra['data']); |
|
569 | $unset_handle = true; |
|
570 | } |
|
571 | //deal with inline_scripts |
|
572 | if ($wp_scripts->get_data($script_handle, 'before')) { |
|
573 | unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
|
@@ 572-575 (lines=4) @@ | ||
569 | $unset_handle = true; |
|
570 | } |
|
571 | //deal with inline_scripts |
|
572 | if ($wp_scripts->get_data($script_handle, 'before')) { |
|
573 | unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
|
574 | $unset_handle = true; |
|
575 | } |
|
576 | if ($wp_scripts->get_data($script_handle, 'after')) { |
|
577 | unset($wp_scripts->registered[ $script_handle ]->extra['after']); |
|
578 | } |