Opened 8 years ago
Closed 8 years ago
#46202 closed enhancement (duplicate)
Load a plugin only if it is used
| Reported by: | lawix | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hello
It would be nice if the core of wordpress natively handles the loading of the plugins according to the call or not by each of the pages for a widget or shortcode for example.
On my screenshot, I would need only xxx-card, wordpress-seo and wp-statistics for example
Thank's
William
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@lawix Welcome to Trac!
You are correct in that WordPress does not use any type of autoloader, but there have already been long ongoing discussions in #36335 about it. For now, it's up to each plugin to responsibly load their code and assets only as needed.
I'm going to close this as a duplicate.