WordPress.org

Making WordPress.org

#3109 closed defect (fixed)

Plugin Directory: Locale banner resets search results

Reported by: SergeyBiryukov Owned by: obenland
Milestone: Priority: normal
Component: Plugin Directory Keywords: has-patch needs-testing
Cc:

Description

  1. Go to https://wordpress.org/plugins/, search for "comments" (for example).
  2. On https://wordpress.org/plugins/search/comments/, there's a locale banner (depending on browser's Accept-Language settings): "The plugin directory is also available in Русский (also: čeština)."
  3. The links in the banner lead to the Plugin Directory home page and don't account for the search keywords.

Attachments (1)

3109-banner-link.diff (1.4 KB) - added by tellyworth 17 months ago.
Use referring link in banner on pages other than single plugin. Needs testing.

Download all attachments as: .zip

Change History (3)

@tellyworth
17 months ago

Use referring link in banner on pages other than single plugin. Needs testing.

#1 @tellyworth
17 months ago

  • Keywords has-patch needs-testing added

#2 @obenland
15 months ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6340:

Plugins: Make locale banner path-aware.

Links to the localized version of the current path rather than just the Plugin Directory homepage.

Props tellyworth for initial patch.
Fixes #3109.

Note: See TracTickets for help on using tickets.