Changes between Initial Version and Version 1 of Ticket #7658, comment 5
- Timestamp:
- 01/18/2018 04:01:10 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7658, comment 5
initial v1 2 2 3 3 I 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) .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), and we no longer touch that global property directly .