|
@@ 575-578 (lines=4) @@
|
| 572 |
|
if (isset($this->script_handles_with_data[ $script_handle ])) { |
| 573 |
|
global $wp_scripts; |
| 574 |
|
$unset_handle = false; |
| 575 |
|
if ($wp_scripts->get_data($script_handle, 'data')) { |
| 576 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['data']); |
| 577 |
|
$unset_handle = true; |
| 578 |
|
} |
| 579 |
|
//deal with inline_scripts |
| 580 |
|
if ($wp_scripts->get_data($script_handle, 'before')) { |
| 581 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
|
@@ 580-583 (lines=4) @@
|
| 577 |
|
$unset_handle = true; |
| 578 |
|
} |
| 579 |
|
//deal with inline_scripts |
| 580 |
|
if ($wp_scripts->get_data($script_handle, 'before')) { |
| 581 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['before']); |
| 582 |
|
$unset_handle = true; |
| 583 |
|
} |
| 584 |
|
if ($wp_scripts->get_data($script_handle, 'after')) { |
| 585 |
|
unset($wp_scripts->registered[ $script_handle ]->extra['after']); |
| 586 |
|
} |