Changeset 7268 for trunk/src/includes/topics/functions.php
- Timestamp:
- 06/28/2024 10:02:43 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/includes/topics/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/2.6 merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/src/includes/topics/functions.php
r7207 r7268 580 580 581 581 // Maybe force into pending 582 if ( bbp_is_topic_public( $topic ->ID) && ! bbp_check_for_moderation( $anonymous_data, $topic_author, $topic_title, $topic_content ) ) {582 if ( bbp_is_topic_public( $topic_id ) && ! bbp_check_for_moderation( $anonymous_data, $topic_author, $topic_title, $topic_content ) ) { 583 583 $topic_status = bbp_get_pending_status_id(); 584 584 … … 587 587 588 588 // Allow capable users to explicitly override the status 589 if ( current_user_can( 'moderate', $ forum_id ) ) {589 if ( current_user_can( 'moderate', $topic_id ) ) { 590 590 $topic_status = sanitize_key( $_POST['bbp_topic_status'] ); 591 591
Note: See TracChangeset
for help on using the changeset viewer.