Making WordPress.org

Opened 9 years ago

Closed 8 years ago

#1577 closed task (blessed) (fixed)

Favorites

Reported by: obenland's profile obenland Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description (last modified by dd32)

  • Allow Favoriting Plugins.
  • Profile Integration.
  • GlotPress Integration.

Change History (6)

#1 @dd32
9 years ago

  • Description modified (diff)

In [dotorg11868] I've updated the bbPress plugin directory to store the plugin slugs in usermeta in addition to bbPress topic_ids.

get_user_metadata( $user_id, 'plugin_favorites', true ) will return an array of plugin slugs which have been marked as favorited in the bbPress directory by the user.
A data migration hasn't occurred, but will happen if you favorite/unfavorite a plugin via bbPress. We'll need to run a migration before this can be marked fixed.

Previously the plugin favorites were storing bbPress topic id's in plugin_favorite, GlotPress would benefit from the new slug storage. The Theme Directory also stores favorites in theme_favorites as theme slugs.

Last edited 9 years ago by dd32 (previous) (diff)

#2 @dd32
8 years ago

In 3165:

Plugin Directory: Allow querying by user favorites.
See #1577

#3 @dd32
8 years ago

  • Type changed from enhancement to task

#4 @dd32
8 years ago

See Also #808

See Also #865

Last edited 8 years ago by dd32 (previous) (diff)

#5 @dd32
8 years ago

A data migration hasn't occurred, but will happen if you favorite/unfavorite a plugin via bbPress. We'll need to run a migration before this can be marked fixed.

A data migration has been done.
All users who previously favourited any plugins now have the plugin_favourites meta key.

#6 @dd32
8 years ago

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

In 3545:

Plugin Directory: Add plugin favoriting to the user interface.
Someone will need to style this properly.

Fixes #1577

Note: See TracTickets for help on using tickets.