Changes between Initial Version and Version 1 of Ticket #8254, comment 5
- Timestamp:
- 03/03/2020 01:54:46 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8254, comment 5
initial v1 1 Yes, that is better. Using $current_blogshould 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.1 Yes, 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. 2 2 Replying to [comment:4 imath]: 3 3 > I believe it's best to use the function `get_current_blog_id()`. What do you think ?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)