WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#965 closed defect (fixed)

Direct link to tag in theme directory does not show all themes in tag

Reported by: joedolson Owned by: obenland
Milestone: Priority: normal
Component: Theme Directory Keywords:
Cc:

Description

If I give somebody a link to a theme tag (e.g. https://wordpress.org/themes/tags/accessibility-ready/), it only shows the first 15 themes, with no method to show all themes.

cc @obenland

Change History (3)

#1 @obenland
5 years ago

Interesting, I'll take a look.

#2 @obenland
5 years ago

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

In 1427:

WP.org Themes: Return 15 themes per request.

This sets posts_per_page to 15, overwriting the default 100 set by the JS
handler.

Since posts_per_page was set without a corresponding offset, an offset of 100
was assumed which returned the wrong results.

Fixes #965.

#3 @joedolson
5 years ago

Awesome. Thank you!

Note: See TracTickets for help on using tickets.