[wp-trac] [WordPress Trac] #31347: Issue with translations api return (undefined index in settings)
WordPress Trac
noreply at wordpress.org
Mon Feb 23 08:30:13 UTC 2015
#31347: Issue with translations api return (undefined index in settings)
--------------------------+------------------------
Reporter: OriginalEXE | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: I18N | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by jmaberle):
the problem come from
function translations_api()
wp_remote_post (https://api.wordpress.org/translations/core/1.0/)
return
...
"language":"haz","version":"4.1.1","updated":"2015-02-12
01:05:09","english_name":"Hazaragi","native_name":"\u0647\u0632\u0627\u0631\u0647
\u06af\u06cc","package":"https:\/\/downloads.wordpress.org\/translation\/core\/4.1.1
\/haz.zip","iso":{"2":"haz"}
...
the language haz has no iso[1]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31347#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list