Closed swissspidy closed 4 months ago
Issue Overview Right now the plugin just assumes that GlotPress is installed, without verifying whether it's actually the case.
Function calls and constants like DATE_MYSQL and GP_VERSION are not available without GlotPress.
DATE_MYSQL
GP_VERSION
For example, running wp traduttore info without GlotPress being active errors because of that.
wp traduttore info
Expected behavior Limited functionality and/or warnings when GlotPress is not active.
Issue Overview Right now the plugin just assumes that GlotPress is installed, without verifying whether it's actually the case.
Function calls and constants like
DATE_MYSQL
andGP_VERSION
are not available without GlotPress.For example, running
wp traduttore info
without GlotPress being active errors because of that.Expected behavior Limited functionality and/or warnings when GlotPress is not active.