Ticket #3436: 3436.01.patch
File 3436.01.patch, 1.3 KB (added by , 3 years ago) |
---|
-
src/bbpress.php
776 776 /** Post **************************************************************/ 777 777 778 778 // Counts 779 register_meta( 'post', '_bbp_topic_count', $count ); 779 $count['object_subtype'] = bbp_get_forum_post_type(); 780 register_meta( 'post', '_bbp_topic_count', $count ); 781 register_meta( 'post', '_bbp_total_topic_count', $count ); 782 register_meta( 'post', '_bbp_topic_count_hidden', $count ); 783 register_meta( 'post', '_bbp_forum_subforum_count', $count ); 784 785 $count['object_subtype'] = bbp_get_topic_post_type(); 780 786 register_meta( 'post', '_bbp_reply_count', $count ); 781 register_meta( 'post', '_bbp_total_topic_count', $count );782 787 register_meta( 'post', '_bbp_total_reply_count', $count ); 788 register_meta( 'post', '_bbp_reply_count_hidden', $count ); 783 789 register_meta( 'post', '_bbp_voice_count', $count ); 784 790 register_meta( 'post', '_bbp_anonymous_reply_count', $count ); 785 register_meta( 'post', '_bbp_topic_count_hidden', $count );786 register_meta( 'post', '_bbp_reply_count_hidden', $count );787 register_meta( 'post', '_bbp_forum_subforum_count', $count );788 791 789 792 /* User ***************************************************************/ 790 793