[wp-trac] [WordPress Trac] #46387: Undefined index notice in wp-includes/l10n.php on line 950
WordPress Trac
noreply at wordpress.org
Sat Jul 27 12:44:07 UTC 2019
#46387: Undefined index notice in wp-includes/l10n.php on line 950
--------------------------+----------------------
Reporter: tditlu | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: I18N | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+----------------------
Changes (by ocean90):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"45685" 45685]:
{{{
#!CommitTicketReference repository="" revision="45685"
I18N: Add support for custom `WP_PLUGIN_URL` in
`load_script_textdomain()`.
Plugins may not be on the same host/path as the rest of the content. To
support loading translations for this setup check if the script source
matches `plugins_url()`.
Also fixes an undefined index notice when a custom content URL has no
path.
Props odminstudios, ocean90.
Fixes #46336, #46387.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46387#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list