Making WordPress.org

Changes between Version 1 and Version 2 of Ticket #683, comment 18


Ignore:
Timestamp:
12/11/2016 05:09:17 PM (8 years ago)
Author:
anthonydpaul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #683, comment 18

    v1 v2  
    88I noticed the activity is only missing from my original speakers because their org username was submitted as part of their application. Speakers I added later as replacements already had the speaker activity because I manually added their org username.
    99
    10 I suspect the function that registers the activity is not getting run wen the speaker applies (which makes sense) and it is prevented from running every time the post is updated, unless the username value changes. That's preventing it from running on publish.
     10I suspect the function that registers the activity is not getting run when the speaker applies (which makes sense) and it is prevented from running every time the post is updated, unless the username value changes. That means it's also not getting run when the speaker is published, because the value for the username is not changing.
    1111
    1212To remedy this, the activity would need to be part of the publish action rather than the create action. However, speakers who get published also sometimes do not end up speaking. A better approach may be to not tie this activity feature to the profile management process at all and to instead schedule a task to grab all published speaker org usernames on the date of the WordCamp—to run the activity bot one single time with the latest schedule.