Changeset 5674
- Timestamp:
- 07/16/2017 07:37:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-dropin.php
r5673 r5674 37 37 remove_action( 'bbp_new_topic', 'bbp_update_topic' ); 38 38 remove_action( 'bbp_edit_topic', 'bbp_update_topic' ); 39 add_action( 'bbp_new_topic', array( $this, 'bbp_update_topic' ) );40 add_action( 'bbp_edit_topic', array( $this, 'bbp_update_topic' ) );39 add_action( 'bbp_new_topic', array( $this, 'bbp_update_topic' ), 10, 5 ); 40 add_action( 'bbp_edit_topic', array( $this, 'bbp_update_topic' ), 10, 5 ); 41 41 42 42 // Avoid bbp_update_reply_walker(). 43 43 remove_action( 'bbp_new_reply', 'bbp_update_reply' ); 44 44 remove_action( 'bbp_edit_reply', 'bbp_update_reply' ); 45 add_action( 'bbp_new_reply', array( $this, 'bbp_update_reply' ) );46 add_action( 'bbp_edit_reply', array( $this, 'bbp_update_reply' ) );45 add_action( 'bbp_new_reply', array( $this, 'bbp_update_reply' ), 10, 7 ); 46 add_action( 'bbp_edit_reply', array( $this, 'bbp_update_reply' ), 10, 7 ); 47 47 48 48 if ( is_admin() ) {
Note: See TracChangeset
for help on using the changeset viewer.