Changeset 6837
- Timestamp:
- 07/27/2018 06:02:12 PM (8 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 2 edited
-
forums/template.php (modified) (1 diff)
-
topics/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/template.php
r6830 r6837 2530 2530 } 2531 2531 2532 // Creating a new topic2532 // Creating a new forum 2533 2533 if ( bbp_verify_nonce_request( 'bbp-new-forum' ) ) { 2534 2534 return true; 2535 2535 } 2536 2536 2537 // Editing an existing topic2538 if ( bbp_verify_nonce_request( 'bbp-edit-forum ') ) {2537 // Editing an existing forum 2538 if ( bbp_verify_nonce_request( 'bbp-edit-forum_' . bbp_get_forum_id() ) ) { 2539 2539 return true; 2540 2540 } -
trunk/src/includes/topics/template.php
r6830 r6837 3958 3958 3959 3959 // Editing an existing topic 3960 if ( bbp_verify_nonce_request( 'bbp-edit-topic ') ) {3960 if ( bbp_verify_nonce_request( 'bbp-edit-topic_' . bbp_get_topic_id() ) ) { 3961 3961 return true; 3962 3962 }
Note: See TracChangeset
for help on using the changeset viewer.