Opened 6 years ago
Closed 4 years ago
#4011 closed defect (bug) (reported-upstream)
Correct Twitter URL and hashtag in email to global sponsors
Reported by: | RMarks | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | |
Cc: |
Description
Reported in Slack: https://wordpress.slack.com/archives/C08M59V3P/p1545183587066200
The email that goes out to global sponsors to alert them of an upcoming camp has some problems with the way the information regarding the camps' Twitter accounts is displayed. Here's an example from the recent WordCamp Proldiv email: Their Twitter handle is https://twitter.com/https://twitter.com/WordCampPlovdiv and their hashtag is https://twitter.com/hashtag/#WCPLD Can we get the repetitive "https://twitter.com/" removed and the hashtag limited to just the hashtag in this case it would be #WCPLD
Attachments (2)
Change History (10)
This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.
6 years ago
#2
@
6 years ago
#4
@
6 years ago
I've uploaded a screenshot of what I see in my local development environment. Could someone please send me the same for Plovdiv from the production enviroment? I believe the additional https://twitter.com/
parts are being stored along with the Twitter username.
For the hashtag, I believe the # was being added in the UI. https://twitter.com/hashtag/WCPLD is a valid URL.
In both of these cases, I think removing the URL and # when saving a WordCamp would be the better direction to go. Thoughts?
#5
@
6 years ago
🤔
My instinct is to normalize them to be full/valid URLs and hashtags -- e.g., https://twitter.com/WordCampPlovdiv
and #WCPLD
-- since that feels like it's more intuitive/expected/"correct".
I don't hold that opinion very strongly, though; I can see the other side of it as well.
I'd be curious to see how those fields are being used across the codebase. That may be a factor in how practical one option would be over the other.
#6
@
6 years ago
I agree that they should be normalized. The mailer.php code mentioned in comment:3 is attempting to make both into URLs:
https://twitter.com/WordCampPlovdiv
https://twitter.com/hashtag/WCPLD
It may be useful to look at the production database and see what the previous usage has been.
For the handle: Username alone, Username with the @ symbol, or URL to profile
For the hashtag: Hashtag letters with or without the # symbol
This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.
4 years ago
#9
@
4 years ago
- Resolution set to reported-upstream
- Status changed from new to closed
This ticket has been moved to GitHub https://github.com/WordPress/wordcamp.org/issues/609
I'd like to make this change, but don't see this code in the meta repository. Can someone point me to where this code is located?