Changeset 5645
- Timestamp:
- 07/11/2017 02:20:22 PM (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
r5641 r5645 37 37 add_action( 'bbp_theme_after_reply_author_details', array( $this, 'add_user_notes_toggle_link' ) ); 38 38 39 add_action( 'bbp_theme_ after_topic_content',array( $this, 'display_user_notes_in_content' ) );40 add_action( 'bbp_theme_ after_reply_content',array( $this, 'display_user_notes_in_content' ) );39 add_action( 'bbp_theme_before_topic_content', array( $this, 'display_user_notes_in_content' ) ); 40 add_action( 'bbp_theme_before_reply_content', array( $this, 'display_user_notes_in_content' ) ); 41 41 add_action( 'bbp_template_after_user_profile', array( $this, 'display_user_notes_in_profile' ) ); 42 42 } … … 145 145 } 146 146 147 if ( isset( $user_notes[ $note_id ] ) ) { 148 $post_id = $user_notes[ $note_id ]->post_id; 149 unset( $user_notes[ $note_id ] ); 150 } else { 151 $post_id = 0; 152 } 147 unset( $user_notes[ $note_id ] ); 153 148 154 149 // Reindex the array from 1.
Note: See TracChangeset
for help on using the changeset viewer.