WordPress.org

Support

Support » Plugins and Hacks » (Notice) PLUGINDIR already defined Fix

(Notice) PLUGINDIR already defined Fix

Viewing 2 replies - 1 through 2 (of 2 total)
  • Air.
    Participant

    @air-1

    Yes, same here. It should be easy to trace for author as they should work on plugins with debug mode ON. Above solution should be added to plugin. Anyway this constant is used in wp-includes/default-constants.php

    if ( !defined('PLUGINDIR') )
    		define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.

    Fixing this would enable work with plugin when debug mode is ON, cause now above Warning produces other

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent

    Keep up great work!

    With regards.

    Plugin Author Shaon
    Participant

    @codename065

    Thanks, I’m adjusting those issue and updating soon

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘(Notice) PLUGINDIR already defined Fix’ is closed to new replies.