|
@@ 774-777 (lines=4) @@
|
| 771 |
|
if (isset($this->script_handles_with_data[ $script_handle ])) { |
| 772 |
|
global $wp_scripts; |
| 773 |
|
$unset_handle = false; |
| 774 |
|
if ($wp_scripts->get_data($script_handle, 'data')) { |
| 775 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['data']); |
| 776 |
|
$unset_handle = true; |
| 777 |
|
} |
| 778 |
|
//deal with inline_scripts |
| 779 |
|
if ($wp_scripts->get_data($script_handle, 'before')) { |
| 780 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
|
@@ 779-782 (lines=4) @@
|
| 776 |
|
$unset_handle = true; |
| 777 |
|
} |
| 778 |
|
//deal with inline_scripts |
| 779 |
|
if ($wp_scripts->get_data($script_handle, 'before')) { |
| 780 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
| 781 |
|
$unset_handle = true; |
| 782 |
|
} |
| 783 |
|
if ($wp_scripts->get_data($script_handle, 'after')) { |
| 784 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['after']); |
| 785 |
|
} |