Make WordPress Core

Opened 2 years ago

Closed 2 months ago

#60689 closed feature request (wontfix)

Concerning use of external libraries

Reported by: warui1738's profile warui1738 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

Change History (4)

#1 @audrasjb
2 years ago

  • Focuses accessibility javascript css docs removed
  • Severity changed from major to normal
  • Version trunk deleted

This ticket was mentioned in Slack in #core-performance by mukeshpanchal27. View the logs.


2 years ago

#3 @mukesh27
2 years ago

  • Focuses performance sustainability removed

#4 @desrosj
2 months ago

  • Keywords needs-design needs-design-feedback 2nd-opinion dev-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.