Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6608


Ignore:
Timestamp:
09/02/2015 02:05:48 PM (9 years ago)
Author:
DJPaul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6608 – Description

    initial v1  
    11In 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!
    22
    3 This is introduced by way of changes to using the checked() function rather than passing in a variable as before; in changeset #9939
     3This is introduced by way of changes to using the checked() function rather than passing in a variable as before; in changeset r9939
    44
    55checked() 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.