Skip to content

Commit

Permalink
Use include because include_once does not actually include on rep…
Browse files Browse the repository at this point in the history
…eated runs
  • Loading branch information
BrianHenryIE committed Aug 15, 2024
1 parent 6c37264 commit a1ad324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/WPAdmin/Listeners/DataAttrListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function enqueue_data_attr_listener() {

if ( is_readable( $asset_file ) ) {

$asset = include_once $asset_file;
$asset = include $asset_file;

wp_register_script(
'nfd-survey-data-attr-listener',
Expand Down

0 comments on commit a1ad324

Please sign in to comment.