• Resolved Antony Booker

    (@antonynz)


    When the default plugins directory is renamed the backup freezes on the dashboard with the backup file ever increasing in possibly an infinite loop.

    This can be replicated on a fresh WordPress install, with the following settings in wp-config.php file:

    define( ‘WP_PLUGIN_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/extensions’ );
    define( ‘WP_PLUGIN_URL’, ‘http://example.com/wp-content/extensions’);
    define( ‘PLUGINDIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/extensions’ );

    It would be great if you could look into this, as it would easily full the disk space of an account, possibly crashing the site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani

    (@yaniiliev)

    Thank you, we maintain this feature request website https://feedback.wp-migration.com/ – if enough people upvote this feature, we will implement it.

    Thread Starter Antony Booker

    (@antonynz)

    To confirm this isn’t a feature request but a major bug that would cause the backup to run infinitely until the diskspace limit is reached.

    It would be great if you would give this more consideration and provide a fix for future releases. Even if you do not wish to support this functionality, providing a warning or disabling backups if the plugin directory has been renamed would be a preferable option.

    • This reply was modified 7 years, 6 months ago by Antony Booker.
    Thread Starter Antony Booker

    (@antonynz)

    Not sure why this was marked as resolved, as this is still an issue.

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

The topic ‘Custom plugin directory causing infinite loop’ is closed to new replies.