Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#41720 new enhancement

Give a path where VCS data can be stored

Reported by: screamingdev Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: close
Focuses: Cc:


As a developer
I want to put data in my VCS
so that any developer can access this files.

  • Currently wp-content/uploads is something no one wants in his VCS.
  • Storing everything in wp-content is a complete mess.
  • We could allow a messy folder in something like "wp-content/data".

If this becomes a preset in WordPress
and rule of thumb, then I am sure that most installs will become cleaner
and easier to maintain.
What plugins currently do is a complete mess. As a develop I don't want to enter the wp-content directory
and find a list of storage dir for each single plugin.
I just like to see:

  • plugins/
  • themes/
  • languages/
  • the theme compat thingy/
  • data/
  • uploads/
  • index.php

This is already enough.

Change History (1)

#1 @brutalenemy666
3 years ago

  • Keywords close added

This sounds like a plugin solution.

You can achieve that by using the media hooks.

Please refer to wp_upload_bits.


Note: See TracTickets for help on using tickets.