Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#3109 closed defect (bug) (fixed)

Plugin Directory: Locale banner resets search results

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: obenland's profile 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 7 years ago.
Use referring link in banner on pages other than single plugin. Needs testing.

Download all attachments as: .zip

Change History (3)

@tellyworth
7 years ago

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

#1 @tellyworth
7 years ago

  • Keywords has-patch needs-testing added

#2 @obenland
7 years 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.