Viewing 4 replies - 1 through 4 (of 4 total)
  • @chasperlisimba

    According to wp-includes/default-constants.php file content:

    /**
     * Allows for the plugins directory to be moved from the default location.
     *
     * @since 2.1.0
     * @deprecated
     */
    if ( !defined('PLUGINDIR') )
    	define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.

    Note that the PLUGINDIR constant is deprecated and only defined for backward compatibility.
    The iTSec plugin uses the WP_PLUGIN_DIR constant instead.

    /**
     * Allows for the plugins directory to be moved from the default location.
     *
     * @since 2.6.0
     */
    if ( !defined('WP_PLUGIN_DIR') )
    	define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // full path, no trailing slash

    dwinden

    @chasperlisimba

    If you require no further assistance please mark this topic as ‘resolved’.

    dwinden

    @chasperlisimba

    Bumping as you may not have received any previous emails.
    It seems some people do not receive the update emails.

    dwinden

    Thread Starter chasperlisimba

    (@chasperlisimba)

    Hi Dwinden

    thank you for your post! It helped me a lot!
    And yes I didn’t get the notification e-mail. I saw it now by happenstance :-/

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘plugindir when changing wp-content folder’ is closed to new replies.