[wp-trac] [WordPress Trac] #62244: Just-in-time translation loading for plugins/themes not in the directory
WordPress Trac
noreply at wordpress.org
Mon Dec 2 17:08:43 UTC 2024
#62244: Just-in-time translation loading for plugins/themes not in the directory
--------------------------------------+-------------------------
Reporter: swissspidy | Owner: swissspidy
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.8
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+-------------------------
Comment (by swissspidy):
In [changeset:"59479" 59479]:
{{{
#!CommitTicketReference repository="" revision="59479"
Plugins: Make more plugin-related functions available early on.
This is a follow-up to [59461], which moved `get_plugin_data()` from `wp-
admin/includes/plugin.php` to `wp-includes/functions.php` so it's
available during the plugin loading process.
Related functions like `is_plugin_active()` are often used together and
should therefore be moved as well, to improve backward compatibility for
plugins which load `wp-admin/includes/plugin.php` only conditionally.
Props johnbillion, dd32, swissspidy.
See #62244.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62244#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list