Making WordPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2870 closed defect (bug) (fixed)

Make the hreflang show only for sites that have translations available

Reported by: joostdevalk's profile joostdevalk Owned by: otto42's profile Otto42
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

Currently we show hreflang links for each locale, irregardless of whether we actually have a translation for it. This patch fixes that.

Attachments (2)

hreflang.1.patch (4.1 KB) - added by joostdevalk 8 years ago.
Patch for the plugin directory plugin
hreflang.2.patch (2.9 KB) - added by joostdevalk 8 years ago.
Patch that removes the hreflang functions from the theme

Download all attachments as: .zip

Change History (8)

@joostdevalk
8 years ago

Patch for the plugin directory plugin

@joostdevalk
8 years ago

Patch that removes the hreflang functions from the theme

#1 @Otto42
8 years ago

In 5569:

Plugin Directory: Remove hreflang generation from wporg-plugins theme. See #2870

#2 @Otto42
8 years ago

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

In 5570:

Plugin Directory: Move hreflang from the theme into the plugin-directory plugin, change it to only show translated languages instead of all languages, in order to make google behave better. Props @joostdevalk, @otto42. Fixes #2870

#3 @Otto42
8 years ago

In 5571:

Plugin Directory: Fix cache timeout and naming for hreflang memcache. Set to 1 day timeout. Fixes #2870

#4 @ocean90
8 years ago

  • Keywords needs-patch added; has-patch removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-opening since no one added them back to the theme directory yet.

#5 @ocean90
8 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

Nevermind, misread the commit message.

#6 @Otto42
8 years ago

  • Keywords needs-patch removed
Note: See TracTickets for help on using tickets.