Opened 10 years ago
Closed 10 years ago
#776 closed defect (bug) (wontfix)
Translation API: Missing translations for development versions
Reported by: | ocean90 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | API | Keywords: | has-patch |
Cc: |
Description (last modified by )
https://wordpress.slack.com/archives/meta-i18n/p1418424435000057
http://api.wordpress.org/translations/core/1.0/?version=4.1-RC1 returns only the results for version 4.0 because version_compare( '4.1-RC1', '4.1', '>=' )
is false.
Solutions:
1) Use only the branch part of the version, see 776.patch
2) Skip version compare for dev versions, see 776.2.patch
3) ?
The lines are based on https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-upgrader.php?rev=30762#L2119.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Per https://wordpress.slack.com/archives/meta-i18n/p1418582591000068