Opened 8 years ago
Closed 8 years ago
#2690 closed defect (bug) (fixed)
Plugin Directory: Invalid subdomain links in translations list
Reported by: | SergeyBiryukov | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | has-patch |
Cc: |
Description
Background: Slack thread.
https://wordpress.org/plugins/pods/ links to https://pt-br.wordpress.org/plugins/pods/, which does not exist.
The correct link for Brazilian Portuguese would have been https://br.wordpress.org/plugins/pods/.
The locale cannot generally be used as subdomain, it needs to pull the associated subdomain from the locales
table.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
The theme already pulls the list of locale sites in
hreflang_link_attributes()
.2690.patch moves that code to the plugin and reuses it in the translations section.