Opened 10 years ago
Closed 10 years ago
#35653 closed defect (bug) (duplicate)
Calling `load_plugin_textdomain( 'textdomain' )` shouldn't cause an extra file stat call
| Reported by: | dd32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Thanks to WordPress.org Language packs, plugins no longer need to ship with translations nor a languages directory.
However, if a plugin simply calls load_plugin_textdomain( 'textdomain' ); it causes WordPress to look for WP_PLUGINS_DIR/textdomain-locale.mo.
I think we should be able to avoid looking for a translation file in this case.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
See also: #34213