Changes between Initial Version and Version 1 of Ticket #7146
- Timestamp:
- 06/28/2016 05:11:20 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7146 – Description
initial v1 1 1 In #7113, we fixed a bug where anybody's activity item could be displayed under a member profile. 2 2 3 However, due to the strict activity ID check here, this broke:3 However, due to the strict activity user ID check for the fix, this broke activity permalink access on some installs: 4 4 https://buddypress.trac.wordpress.org/browser/tags/2.6.0/src/bp-activity/bp-activity-screens.php?marks=253#L252 5 5 6 `$activity->user_id` is a string in some instances.6 `$activity->user_id` is a string when the older `'bp_use_legacy_activity_query'` filter is set to true via a plugin. 7 7 8 #6977 marks ongoing work to cast all our numeric strings as integers. r10853 missed an in stance in the older, legacy activity in `BP_Activity_Activity::get()`, which caused the problem.8 #6977 marks ongoing work to cast all our numeric strings as integers. r10853 missed an integer casting instance in the older, legacy activity query, which caused the problem. 9 9 10 10 Attached patch fixes this up.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)