Changeset 5002 for trunk/includes/forums/template-tags.php
- Timestamp:
- 06/25/2013 03:06:32 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/forums/template-tags.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/forums/template-tags.php
r4995 r5002 2142 2142 $type_output = '<select name="bbp_forum_type" id="bbp_forum_type_select">' . "\n"; 2143 2143 2144 foreach ( $forum_attr as $value => $label )2144 foreach ( $forum_attr as $value => $label ) 2145 2145 $type_output .= "\t" . '<option value="' . esc_attr( $value ) . '"' . selected( bbp_get_forum_type( $forum_id ), $value, false ) . '>' . esc_html( $label ) . '</option>' . "\n"; 2146 2146 … … 2180 2180 $status_output = '<select name="bbp_forum_status" id="bbp_forum_status_select">' . "\n"; 2181 2181 2182 foreach ( $forum_attr as $value => $label )2182 foreach ( $forum_attr as $value => $label ) 2183 2183 $status_output .= "\t" . '<option value="' . esc_attr( $value ) . '"' . selected( bbp_get_forum_status( $forum_id ), $value, false ) . '>' . esc_html( $label ) . '</option>' . "\n"; 2184 2184 … … 2219 2219 $visibility_output = '<select name="bbp_forum_visibility" id="bbp_forum_visibility_select">' . "\n"; 2220 2220 2221 foreach ( $forum_attr as $value => $label )2221 foreach ( $forum_attr as $value => $label ) 2222 2222 $visibility_output .= "\t" . '<option value="' . esc_attr( $value ) . '"' . selected( bbp_get_forum_visibility( $forum_id ), $value, false ) . '>' . esc_html( $label ) . '</option>' . "\n"; 2223 2223
Note: See TracChangeset
for help on using the changeset viewer.