Opened 2 years ago
Closed 2 months ago
#60689 closed feature request (wontfix)
Concerning use of external libraries
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | External Libraries | Keywords: | |
| Focuses: | ui | Cc: |
Description
As you get more advanced in using wordpress the need arises to use external libraries like bootstrap,font library,icon libraries,tailwind etc,off course this can be added using insert code plugins.the biggest disadvantage of this is that
1.you cannot maintain libraries version
2.You cannot delete the libraries.
This problem can be solved through a feature request to create an interface to manage external libraries.In this feature:
1.User adds external libraries through a url
2.user can edit the libraries url
3.user can delete the libraries,libraries ceases to exist in the wordpress environment
4.Ability of the interface to distinguish/or give user opportunity to distinguish between <link> and <script> for proper placement in the page layout
Thanks
Hi @warui1738,
Thanks for creating this ticket!
I don't believe that a user interface for managing external libraries is something that fits into the project's roadmap as it currently stands today. Additionally, it runs a bit counter to some of the project's philosophies. Mainly, the majority of users have no idea what an external library is, nor should they.
There is some complex dependency management logic that manages this internally on behalf of the user to ensure the right scripts are enqueued at the right times. Allowing the majority of users (who are non-technical) to change versions or remove certain external libraries entirely would result in some undesirable situations.