Opened 6 years ago
Closed 6 years ago
#46202 closed enhancement (duplicate)
Load a plugin only if it is used
Reported by: | lawix | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
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.
@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.