Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/25/2013 03:06:32 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Constans album spatium. Consistent whitespace handling of foreach usages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/forums/template-tags.php

    r4995 r5002  
    21422142        $type_output = '<select name="bbp_forum_type" id="bbp_forum_type_select">' . "\n";
    21432143
    2144         foreach( $forum_attr as $value => $label )
     2144        foreach ( $forum_attr as $value => $label )
    21452145            $type_output .= "\t" . '<option value="' . esc_attr( $value ) . '"' . selected( bbp_get_forum_type( $forum_id ), $value, false ) . '>' . esc_html( $label ) . '</option>' . "\n";
    21462146
     
    21802180        $status_output = '<select name="bbp_forum_status" id="bbp_forum_status_select">' . "\n";
    21812181
    2182         foreach( $forum_attr as $value => $label )
     2182        foreach ( $forum_attr as $value => $label )
    21832183            $status_output .= "\t" . '<option value="' . esc_attr( $value ) . '"' . selected( bbp_get_forum_status( $forum_id ), $value, false ) . '>' . esc_html( $label ) . '</option>' . "\n";
    21842184
     
    22192219        $visibility_output = '<select name="bbp_forum_visibility" id="bbp_forum_visibility_select">' . "\n";
    22202220
    2221         foreach( $forum_attr as $value => $label )
     2221        foreach ( $forum_attr as $value => $label )
    22222222            $visibility_output .= "\t" . '<option value="' . esc_attr( $value ) . '"' . selected( bbp_get_forum_visibility( $forum_id ), $value, false ) . '>' . esc_html( $label ) . '</option>' . "\n";
    22232223
Note: See TracChangeset for help on using the changeset viewer.