Changeset 5658 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-user-notes.php
- Timestamp:
- 07/12/2017 04:10:28 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-user-notes.php
r5656 r5658 239 239 if ( 'topic' === $post_type ) { 240 240 $permalink = bbp_get_topic_permalink( $post_id ) . '#post-' . (int) $post_id; 241 $permalink = add_query_arg( 'show_user_notes', $post_id, $permalink ); 241 $permalink = add_query_arg( array( 242 'view' => 'all', 243 'show_user_notes' => $post_id, 244 ), $permalink ); 242 245 } elseif ( 'reply' === $post_type ) { 243 246 $permalink = bbp_get_reply_url( $post_id ); 244 $permalink = add_query_arg( 'show_user_notes', $post_id, $permalink ); 247 $permalink = add_query_arg( array( 248 'view' => 'all', 249 'show_user_notes' => $post_id, 250 ), $permalink ); 245 251 } else { 246 252 $permalink = bbp_get_user_profile_url( $user_id ) . '#user-notes';
Note: See TracChangeset
for help on using the changeset viewer.