[wp-trac] [WordPress Trac] #45256: Undefined index: path in load_script_textdomain function
WordPress Trac
noreply at wordpress.org
Fri Dec 14 05:51:35 UTC 2018
#45256: Undefined index: path in load_script_textdomain function
---------------------------------+-------------------------
Reporter: tmatsuur | Owner: herregroen
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: I18N | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-patch fixed-5.0 | Focuses:
---------------------------------+-------------------------
Changes (by pento):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"44169" 44169]:
{{{
#!CommitTicketReference repository="" revision="44169"
I18N: Add JavaScript translation support.
Adds the `wp_set_script_translations()` function which registers
translations for a JavaScript file. This function takes a handle, domain
and optionally a path and ensures JavaScript translation files are loaded
if they exist.
Merges [43825,43828,43859,43898] from the 5.0 branch to trunk.
Props herregroen, atimmer, omarreiss, nerrad, swissspidy, ocean90,
georgestephanis.
Fixes #45103, #45256.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45256#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list