[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 11:32:47 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 dd32):

 > I'm not sure [5307] solved this issue, but it addressed something that
 was an issue (the contributors array cache had a cache group name conflict
 with the plugin directory).

 I'm not sure that's the case - all cache groups have the blog_id included
 in the resulting memcache key, unless it's marked as a global cache group
 (which it isn't). For example, `key = 'my-super-plugin'; group = 'plugin-
 contributors-slugs';` will have a resulting memcache_key of `419:plugin-

 > In the cases mentioned in the ticket, the cache for the authors (when
 only the contributor badge was showing as a fallback) or both caches (when
 neither badge appeared) had somehow gotten set with an empty array.
 Temporarily disabling the wp_cache_(get|set)() resulted in the proper
 authors and contributors.
 This was the case with #2718  as well.

 I think a more likely scenario is that this is being called with invalid
 data at some point and caching that bad state.

Ticket URL: <https://meta.trac.wordpress.org/ticket/2710#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list