WordPress.org

Ideas

Configure where downloaded upgrades are unzipped to

  1. natesymer
    Member

    I'd like to be able to change where zip archives that represent updates to WP Core, Plugins, and themes are unzipped to. Similar to how you can configure where your plugin and theme directories are.

    wp-content/upgrade is in the middle of the web root. Why not use /tmp?

    I understand WordPress developers want to keep the directory where it is b/c it forces wp-content/ to be created. But why not just create wp-content/ in that case?

    Posted: 3 days ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    You can use defines for that right now:

    define('WP_CONTENT_DIR', 'your-dir');
    define('WP_CONTENT_URL', 'your-url');

    Of course that would do uploads as well. the issue, IIRC is that not all web hosts have /tmp/ (I know, I know).

    Posted: 5 hours ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    0 Votes
  • Status

    This idea is under consideration

Tags