You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While developing a routine to estimate the effort to migrate to the new block editor for WordPress ( codenamed Gutenberg ) I developed a routine to summarise my local development environments.
Since I needed to determine the current WordPress version of each local installation - to determine whether or not the Gutenberg plugin would run - I copied some code that finds it. This code used the value of $_SERVER['DOCUMENT_ROOT'] to locate the wp-includes/version.php file.
In oik-batch, this is not set.
Should it be?
Are there other settings in $_SERVER that we should also consider setting when running in CLI/batch mode?
The text was updated successfully, but these errors were encountered:
While developing a routine to estimate the effort to migrate to the new block editor for WordPress ( codenamed Gutenberg ) I developed a routine to summarise my local development environments.
Since I needed to determine the current WordPress version of each local installation - to determine whether or not the Gutenberg plugin would run - I copied some code that finds it. This code used the value of $_SERVER['DOCUMENT_ROOT'] to locate the wp-includes/version.php file.
In oik-batch, this is not set.
Should it be?
Are there other settings in $_SERVER that we should also consider setting when running in CLI/batch mode?
The text was updated successfully, but these errors were encountered: