Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter funsail

    (@funsail)

    The problem is in
    function domain_mapping_plugins_uri( $full_url, $path=NULL, $plugin=NULL ) {

    PLUGINDIR is set to “wp-content/plugins” but on my site it is “data/plugins”

    Thread Starter funsail

    (@funsail)

    Looks like it’s in default-constants.php

    /**
    * 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.

    Plugin Author Ron Rennick

    (@wpmuguru)

    Right, so define PLUGINDIR in your wp-config.php to point to the correct path.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breaks file paths’ is closed to new replies.