|
@@ 727-730 (lines=4) @@
|
| 724 |
|
if (isset($this->script_handles_with_data[ $script_handle ])) { |
| 725 |
|
global $wp_scripts; |
| 726 |
|
$unset_handle = false; |
| 727 |
|
if ($wp_scripts->get_data($script_handle, 'data')) { |
| 728 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['data']); |
| 729 |
|
$unset_handle = true; |
| 730 |
|
} |
| 731 |
|
//deal with inline_scripts |
| 732 |
|
if ($wp_scripts->get_data($script_handle, 'before')) { |
| 733 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
|
@@ 732-735 (lines=4) @@
|
| 729 |
|
$unset_handle = true; |
| 730 |
|
} |
| 731 |
|
//deal with inline_scripts |
| 732 |
|
if ($wp_scripts->get_data($script_handle, 'before')) { |
| 733 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
| 734 |
|
$unset_handle = true; |
| 735 |
|
} |
| 736 |
|
if ($wp_scripts->get_data($script_handle, 'after')) { |
| 737 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['after']); |
| 738 |
|
} |