[wp-meta] [Making WordPress.org] #2493: Forums: Add "flagged by [name]" notice to user profiles
Making WordPress.org
noreply at wordpress.org
Fri Feb 24 20:28:53 UTC 2017
#2493: Forums: Add "flagged by [name]" notice to user profiles
----------------------------------------------+--------------------------
Reporter: SergeyBiryukov | Owner: coffee2code
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Support Forums | Resolution: fixed
Keywords: has-patch commit has-screenshots |
----------------------------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:11 ocean90]:
> Is there a reason why you're storing user_nicename/user_login instead of
the ID? Note that r4987 is using user_login while r5002 uses
user_nicename.
This was modeled after [4847], based on `_bbp_akismet_user`, which stores
[https://bbpress.trac.wordpress.org/browser/tags/2.6-beta-2/src/includes/extend/akismet.php?marks=321,360#L319
user_login]. That seemed enough as an informational note for moderators,
who generally know each other and don't need full display name. Storing
the ID would require getting the user object, which seemed unnecessary.
After a chat with @coffee2code, we're going to switch to `user_nicename`
going forward, as it can be used directly in a URL, and still can be used
to get the user object if needed.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2493#comment:13>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list