Changeset 5677
- Timestamp:
- 07/17/2017 12:38:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
r5672 r5677 328 328 329 329 if ( true === $success ) { 330 $redirect = $this->get_permalink( $post->ID ); 331 bbp_redirect( $redirect ); 330 bbp_redirect( $permalink ); 332 331 } elseif ( true === $is_archived && 'wporg_bbp_archive_post' === $action ) { 333 332 bbp_add_error( 'wporg_bbp_archive_post', __( '<strong>ERROR</strong>: There was a problem archiving that post!', 'wporg-forums' ) ); … … 542 541 break; 543 542 case 'reply' : 544 $permalink = bbp_get_ topic_permalink( bbp_get_reply_topic_id( $post->ID ));543 $permalink = bbp_get_reply_url( $post->ID ); 545 544 break; 546 545 case 'post' :
Note: See TracChangeset
for help on using the changeset viewer.