[wp-meta] [Making WordPress.org] #2710: Forums: "Plugin Contributor" badge is displayed instead of "Plugin Author"
Making WordPress.org
noreply at wordpress.org
Tue Apr 11 23:09:17 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 SergeyBiryukov):
Looking at [5286], it changed the format of `$compat_object` for plugins,
but didn't change the cache group.
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.
Clearing the `plugin-objects` cache group or changing its name in
`::get_object_by_slug_and_type()` should resolve this.
On a related note, is there a reason why we're using direct queries
instead of `WP_Query`?
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2710#comment:10>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list