Changes between Initial Version and Version 1 of Ticket #6608
- Timestamp:
- 09/02/2015 02:05:48 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6608 – Description
initial v1 1 1 In trunk bp-groups-templates.php L: 4957 we are currently echoing the `checked()` function when selecting a name to invite `checked="checked"` checked() being an echo function! 2 2 3 This is introduced by way of changes to using the checked() function rather than passing in a variable as before; in changeset #99393 This is introduced by way of changes to using the checked() function rather than passing in a variable as before; in changeset r9939 4 4 5 5 checked() takes two mandatory? args and a third optional $echo true/false we need to pass that third arg if using this function so patch re-writes the $checked variable to hold the name ID if in array or else empty it and updates checked to carry $checked against the inputs value and ads 'false' to prevent echoing.