Skip to:
Content

bbPress.org

Changes between Initial Version and Version 1 of Ticket #3229, comment 1


Ignore:
Timestamp:
11/15/2018 04:57:22 AM (3 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3229, comment 1

    initial v1  
    33Inside of `bbp_get_email_addresses_from_user_ids()`, we opted to use `get_users()` and use `all_with_meta` to prime the user objects for future/immediate use, and then just pluck `user_email` out of the results.
    44
     5This means we can reference the user object and use `user_registered` without hitting the database, though we would be duplicating some effort with somewhat goofy function calls.
     6
    57We also switched to sending 1 email and using `Bcc:` headers to minimize SMTP wait time inside of a `foreach()` loop, which is in direct conflict with sending unique headers per-user as would be required by this enhancement.
     8
     9This is not very great, as I think we'd need to revert back to sending many individual emails again, something that has already proven to be problematic for users in the forums.