Having uploaded the /pto to my plugins directory I activated the plugin but now get the following error message
Use of undefined constant WP_ALLOW_MULTISITE - assumed 'WP_ALLOW_MULTISITE' in /home/websites/public_html/wp-content/plugins/pto/pto.php on line 82
Although everything seems to work it appears on the site as well as admin.
Any help greatly appreciated.
Hi vialli,
Thanks for that - i'll ensure that the fix is incorporated into the distribution shortly, the code should be using defined() to check for the setting in addition to testing the value. To fix in an existing installation; look for the following code at line 82 of pto.php
if (WP_ALLOW_MULTISITE)
...and REPLACE with:
if (defined("WP_ALLOW_MULTISITE") && WP_ALLOW_MULTISITE)
And in pto_settings.php look for the following code at line 154:
if (WP_ALLOW_MULTISITE)
...and REPLACE with:
if (defined("WP_ALLOW_MULTISITE") && WP_ALLOW_MULTISITE)
Cheers,
David.