#1952 closed defect (bug) (fixed)
Restore locale suggestion banner on support forums
Reported by: | SergeyBiryukov | Owned by: | tellyworth |
---|---|---|---|
Milestone: | Q1 | Priority: | normal |
Component: | Support Forums | Keywords: | needs-patch |
Cc: |
Description (last modified by )
After the upgrade to bbPress 2.x, the WordPress support forums are also available in %s
banner on https://wordpress.org/support/ is gone. It should be restored.
Attachments (1)
Change History (13)
This ticket was mentioned in Slack in #forums by sergey. View the logs.
8 years ago
This ticket was mentioned in Slack in #forums by sergey. View the logs.
7 years ago
This ticket was mentioned in Slack in #forums by clorith. View the logs.
7 years ago
This ticket was mentioned in Slack in #meta by sergey. View the logs.
5 years ago
#9
@
5 years ago
In r15839-dotorg I've updated the lang-guess files to use $locale.wordpress.org/support/
rather than $locale.forums.wordpress.org
so I think the endpoint should now return correct data for forums.
eg:
$ curl 'https://wordpress.org/lang-guess/lang-guess-ajax.php?uri=/support/' -H 'accept-language: ru-RU' <div id="lang-guess">Форумы поддержки WordPress доступны и на вашем языке: <a href='https://ru.wordpress.org/support/'>Русский</a>.</div> $ curl 'https://wordpress.org/lang-guess/lang-guess-ajax.php?uri=/support/' -H 'accept-language: en-GB' // No output. No en-GB forums.
Note: See
TracTickets for help on using
tickets.
I don't have access to provide a patch but here is the research:
/support
is missing the following:Wrapper
<div id="lang-guess-wrap"></div>
Init code
Styles
To make it match the homepage.