[buddypress-trac] [BuddyPress Trac] #6615: bp_get_the_post_class() mistakenly removes classes

buddypress-trac noreply at wordpress.org
Sun Sep 13 19:37:55 UTC 2015


#6615: bp_get_the_post_class() mistakenly removes classes
------------------------------+----------------------
 Reporter:  dcavins           |       Owner:  dcavins
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.4
Component:  Component - Core  |     Version:  2.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------
Changes (by dcavins):

 * owner:   => dcavins
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10109"]:
 {{{
 #!CommitTicketReference repository="" revision="10109"
 Limit class deletion in bp_get_the_post_class().

 Prevent `bp_get_the_post_class()` from deleting
 the zeroth element in the `wp_classes` array when
 `array_search()` returns false.

 Fixes #6615.
 }}}

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


More information about the buddypress-trac mailing list