Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7658, comment 5


Ignore:
Timestamp:
01/18/2018 04:01:10 PM (3 years ago)
Author:
DJPaul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7658, comment 5

    initial v1  
    22
    33I think we replace the contents of all `bp_loggedin_*()` functions with calls to WordPress equivalents.
    4 And for backwards compatibility, we replace `$bp->loggedin_user` with an object that has magic getter to handle `id`, `is_super_admin`, `domain` etc (the properties @dcavins mentioned).
     4And for backwards compatibility, we replace `$bp->loggedin_user` with an object that has magic getter to handle `id`, `is_super_admin`, `domain` etc (the properties @dcavins mentioned), and we no longer touch that global property directly .