Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2701 closed task (blessed) (fixed)

Support Forums: Update to reflect new Plugin Directory implementation

Reported by: coffee2code's profile coffee2code Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Support Forums Keywords:
Cc:

Description

With the new Plugin Directory now live, the support forums need to be updated to pull data from the new site.

This includes updating the following functions to query against the new Plugin Directory WP tables:

  • get_object_by_slug_and_type()
  • get_authors()
  • get_contributors()
  • get_plugin_slugs_by_committer()
  • get_plugin_slugs_by_contributor()

Change History (7)

#1 @coffee2code
7 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

#2 @coffee2code
7 years ago

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

In 5286:

Support Forums: Update to query against the new Plugin Directory WP tables.

Updates get_object_by_slug_and_type(), get_authors(), get_contributors(), get_plugin_slugs_by_committer(), get_plugin_slugs_by_contributor().

Fixes #2701.

#3 @coffee2code
7 years ago

In 5287:

Support Forums, User Badges: Use get_authors() and get_contributors() from \WordPressdotorg\Forums\(Plugin|Theme) instance rather than duplicating their functionality.

See #2697, #2701.

#4 @coffee2code
7 years ago

In 5288:

Support Forums, User Badges: Use user_nicename instead of user_login when checking for user being an author or contributor.

See #2701.
Fixes #2697.

This ticket was mentioned in Slack in #meta by sergey. View the logs.


7 years ago

#6 @coffee2code
7 years ago

In 5301:

Support Forums: Search authors and contributors by user_nicename of user instead of user_login.

Fixes checks in user_can_resolve() and user_can_stick().

See #2701.
Fixes #2709.

#7 @coffee2code
7 years ago

In 5302:

Support Forums: get_authors() should return user_nicename value (rather than user_login) for theme author.

See #2701.

Note: See TracTickets for help on using tickets.