[buddypress-trac] [BuddyPress] #4201: Add missing endif; to members/single/activity.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 12 22:46:23 UTC 2012


#4201: Add missing endif; to members/single/activity.php
--------------------------+------------------------------
 Reporter:  mercime       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Theme         |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by cnorris23):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This isn't needed here. The "if" statement and it's result if condtions =
 true are all contained within the same <?php?>. Additionally, the "if"
 statement is followed by only one line, so no brackets or "endif;" are
 required to terminate. All other if statements in the file are also
 properly terminated.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4201#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list