Skip to:
Content

BuddyPress.org

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


Ignore:
Timestamp:
03/03/2020 01:54:46 AM (7 years ago)
Author:
itowhid06

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8254, comment 5

    initial v1  
    1 Yes, that is better. Using $current_blog should be avoided in all possible cases, and I just created the patch to keep similarity with other usages. +1 to https://buddypress.trac.wordpress.org/attachment/ticket/8254/8254.2.patch.
     1Yes, that is better. Using `$current_blog->id` should be avoided in all possible cases, and I just created the patch to keep similarity with other usages. +1 to https://buddypress.trac.wordpress.org/attachment/ticket/8254/8254.2.patch.
    22Replying to [comment:4 imath]:
    33> I believe it's best to use the function `get_current_blog_id()`. What do you think ?