PHP notice when WP_DEBUG true
-
I’m looking at ‘WP Document Revisions’ with ‘WP Document Revisions Simple Downloads’ on a site with WP_DEBUG set to true and The two plugins together are looking very good so far.
I get a PHP notice within the usage tab of the Download Settings:
Notice: Use of undefined constant Document – assumed ‘Document’ in …/wordpress/wp-content/plugins/wpdr-simple-downloads/includes/admin-form/wpdrsd-usage-tab.php on line 51
This doesn’t cause any problems and it is simple to fix by adding the missing quotes around the word ‘downloads’ on that line, so this is just a heads-up.
- The topic ‘PHP notice when WP_DEBUG true’ is closed to new replies.