[wp-meta] [Making WordPress.org] #2697: Forums: Match contributors by user_nicename if matching by username failed
Making WordPress.org
noreply at wordpress.org
Fri Apr 7 13:32:17 UTC 2017
#2697: Forums: Match contributors by user_nicename if matching by username failed
----------------------------+------------------
Reporter: SergeyBiryukov | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: |
----------------------------+------------------
Description changed by SergeyBiryukov:
Old description:
> Background:
> [https://wordpress.slack.com/archives/C02RQC6RW/p1491539807073887 Slack
> discussion].
>
> @uriahs-victor is listed as a contributor on
> https://wordpress.org/plugins/tweet-old-post/, but does not get a Plugin
> Contributor badge in plugin support topics:
> https://wordpress.org/support/topic/plug-in-error-9/.
>
> It's because the plugin's `readme.txt` lists `user_nicename` (uriahs-
> victor) instead of `user_login` (Uriahs Victor).
>
> We don't display the actual username on WP.org profiles though. On
> https://profiles.wordpress.org/uriahs-victor, the heading is a display
> name, and `@uriahs-victor on WordPress.org` is a `user_nicename`, which
> is misleading, as both are not what we expect in `readme.txt`. At the
> moment, the only place that displays the actual username is the old
> bbPress 1.x forums profile: https://wordpress.org/support/profile/uriahs-
> victor.
>
> To make this more friendly and less confusing, we should match plugin
> contributors by `user_nicename` in addition to `user_login`. The new
> plugin directory appears to handle this correctly, it's just
> [source:sites/trunk/wordpress.org/public_html/wp-content/plugins/support-
> forums/inc/class-directory-compat.php?rev=5162#L838
> Directory_Compat::get_authors()] and
> [source:sites/trunk/wordpress.org/public_html/wp-content/plugins/support-
> forums/inc/class-directory-compat.php?rev=5162#L864 ::get_contributors()]
> that need to be updated.
New description:
Background:
[https://wordpress.slack.com/archives/C02RQC6RW/p1491539807073887 Slack
discussion].
@uriahs-victor is listed as a contributor on https://wordpress.org/plugins
/tweet-old-post/, but does not get a Plugin Contributor badge in plugin
support topics: https://wordpress.org/support/topic/plug-in-error-9/.
It's because the plugin's `readme.txt` lists `user_nicename` (uriahs-
victor) instead of `user_login` (Uriahs Victor).
We don't display the actual username on WP.org profiles though. On
https://profiles.wordpress.org/uriahs-victor, the heading is a display
name, and `@uriahs-victor on WordPress.org` is a `user_nicename`, which is
misleading, as both are not what we expect in `readme.txt`. At the moment,
the only place that displays the actual username is the old bbPress 1.x
forums profile: https://wordpress.org/support/profile/uriahs-victor.
To make this more friendly and less confusing, we should match plugin
contributors by `user_nicename` in addition to `user_login`. The new
plugin directory [source:sites/trunk/wordpress.org/public_html/wp-
content/plugins/plugin-directory/readme/class-parser.php?rev=5253#L516
appears to handle this correctly], it's just
[source:sites/trunk/wordpress.org/public_html/wp-content/plugins/support-
forums/inc/class-directory-compat.php?rev=5162#L838
Directory_Compat::get_authors()] and
[source:sites/trunk/wordpress.org/public_html/wp-content/plugins/support-
forums/inc/class-directory-compat.php?rev=5162#L864 ::get_contributors()]
that need to be updated.
--
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2697#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list