Skip to content

Commit

Permalink
remove value as it's unnessecary and breaks php older than 8
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Oct 23, 2024
1 parent 1d7cb9d commit 7c56685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/WPAdmin/Listeners/InstallerListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public function enqueue_installer_react_script() {

wp_add_inline_script(
'nfd-installer-enqueue',
'var nfdInstaller =' . wp_json_encode(
value: array(
'var nfdInstaller = ' . wp_json_encode(
array(
'restUrl' => \get_home_url() . '/index.php?rest_route=',
'pluginInstallHash' => PluginInstaller::rest_get_plugin_install_hash(),
)
Expand Down

0 comments on commit 7c56685

Please sign in to comment.