Changeset 5681 for trunk/src/includes/topics/template.php
- Timestamp:
- 04/15/2015 02:21:32 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/topics/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/template.php
r5680 r5681 3291 3291 // Post value is passed 3292 3292 if ( bbp_is_topic_form_post_request() && isset( $_POST[ $r['select_id'] ] ) ) { 3293 $r['selected'] = $_POST[ $r['select_id'] ];3293 $r['selected'] = sanitize_key( $_POST[ $r['select_id'] ] ); 3294 3294 3295 3295 // No Post value passed … … 3380 3380 // Post value is passed 3381 3381 if ( bbp_is_topic_form_post_request() && isset( $_POST[ $r['select_id'] ] ) ) { 3382 $r['selected'] = $_POST[ $r['select_id'] ];3382 $r['selected'] = sanitize_key( $_POST[ $r['select_id'] ] ); 3383 3383 3384 3384 // No Post value was passed
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)