[wp-meta] [Making WordPress.org] #2710: Forums: "Plugin Contributor" badge is displayed instead of "Plugin Author"
Making WordPress.org
noreply at wordpress.org
Wed Apr 12 19:53:36 UTC 2017
#2710: Forums: "Plugin Contributor" badge is displayed instead of "Plugin Author"
----------------------------+------------------
Reporter: SergeyBiryukov | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: |
----------------------------+------------------
Comment (by coffee2code):
Replying to [comment:9 SergeyBiryukov]:
>Seeing some more reports on Slack of plugin authors and contributors no
longer being recognized as such and not being able to resolve topics:
> https://wordpress.slack.com/archives/C02QB8GMM/p1491923589415860
> https://wordpress.slack.com/archives/C02RQC6RW/p1491929341352940
> https://wordpress.slack.com/archives/C02RQC6RW/p1491948136951086
The last of these appear to be that the user doesn't have commit access to
the plugin and wasn't listed as a contributor in the readme.
Replying to [comment:11 SergeyBiryukov]:
> > Previously, `$this->plugin` didn't have an `ID` field, so it might be
possible that `$this->plugin->ID` in `::get_authors()` and
`::get_contributors()` is empty for plugins that still have previous
values in cache.
>
> That in turn would lead to an empty array being cached for the affected
plugins in `plugin-authors-slugs` and `plugin-contributors-slugs` cache
groups, so I guess clearing just `plugin-objects` won't be enough.
This is all true, though should only have been an issue for the 24 hours
after the committed changes in [5286]. The caches for the group `plugin-
objects` are set to expire after 24 hours. The caches for `plugin-authors-
slugs` and `plugin-contributors-slugs` after only one hour.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2710#comment:12>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list