[buddypress-trac] [BuddyPress Trac] #7228: Add PHPCS

buddypress-trac noreply at wordpress.org
Thu Jun 6 01:57:45 UTC 2024


#7228: Add PHPCS
--------------------------------------+--------------------------
 Reporter:  DJPaul                    |       Owner:  espellcaste
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  14.0.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+--------------------------

Comment (by espellcaste):

 In [changeset:"13906" 13906]:
 {{{
 #!CommitTicketReference repository="" revision="13906"
 WPCS: fix a regression that stopped the BuddyPress components from being
 saved properly.

 The regression was introduced as part of [13881] where `"bp_components[
 $name ]"` was incorectly changed (added a space around it). The values
 sent to the database had a space before and after the component key: `"
 groups "` instead of `"groups"`, and it was saved in the `bp-active-
 components` field as such.

 The correct value should continue to be `"bp_components[$name]"`, since
 this is not an array key (even though it looks like one).

 See #7228
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7228#comment:118>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list