Comments (11)
Wasn't a conscious decision, just overlooked. It's on our radar after being suggested by this guy:
https://twitter.com/kchrist/status/413401599050924032
https://twitter.com/kchrist/status/413402133568831489
from bedrock.
Nice, that'd be awesome!
from bedrock.
If you were to do this I think it'd be a good idea to talk about file permissions in the readme as it could end up causing problems for some users if they accidentally changed them.
from bedrock.
Just a note that I've got a branch with this idea implemented: https://github.com/roots/bedrock/tree/web-folder
from bedrock.
/cc @kennwilson as well :)
from bedrock.
I agree with that opinion
web directory should be isolated from config files
from bedrock.
Is there a reason to call the folder web/
?
I think public/
is a more often used name, right?
from bedrock.
@metalmatze: you're right. it seems to me that the public is now more popular name... can be found in many projects on ruby, php - symfony, laravel
from bedrock.
When public
is used in frameworks like Rails, Symfony, and (I think) Laravel, it's for purely static files. Usually assets like JS, CSS, images. I went with web
here because it's quite different than that. It still contains WP Core, plugins, themes, etc.
from bedrock.
swalkinshaw is right, public usually refers to the static files that obviously the public can access, which you do not want for the WP core & plugins.
from bedrock.
Closing as #32 has been merged in.
from bedrock.
Related Issues (20)
- Bug: htaccess not blocking /app request HOT 4
- Dependency Dashboard
- Bug: wordpress-no-content ignores wordpress-install-dir HOT 1
- Feature Request: More flexible .env.* chosing HOT 5
- Bug: Multisite not working HOT 1
- Bug: WP_ENVIRONMENT_TYPE set doesn't check if constant is already defined HOT 6
- ADD: Local environment in application.php HOT 1
- Wordpress Version in composer.json is ignored HOT 1
- Upgrading WP from 6.x to 6.3.1 stops loading core block css from wp-includes HOT 3
- There is no documentation on how to add custom blocks to a theme/plugin HOT 1
- Add file to configure production environments
- New `WP_DEVELOPMENT_MODE` constant HOT 2
- Cannot override eg. DISALLOW_FILE_MODS in .env?? HOT 3
- Redis Object Cache not working on WP_ENV='production' HOT 1
- html appended to core javascript files HOT 1
- [Feat] Keep the themes folder clean by skipping installing default themes during updates HOT 1
- [Feat] Also ignore env files not starting with `.env` HOT 2
- Add `WP_DISABLE_FATAL_ERROR_HANDLER=true` constant to development
- 404 on all perm link on frontend HOT 1
- Introduction of "use Dotenv::createImmutable()" breaks servers with multiple sites HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bedrock.