Changeset 7351
- Timestamp:
- 10/17/2025 02:29:43 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/bbpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r7340 r7351 777 777 /** Post **************************************************************/ 778 778 779 // Counts 779 // Forum 780 $count['object_subtype'] = bbp_get_forum_post_type(); 780 781 register_meta( 'post', '_bbp_topic_count', $count ); 781 782 register_meta( 'post', '_bbp_reply_count', $count ); 782 783 register_meta( 'post', '_bbp_total_topic_count', $count ); 783 784 register_meta( 'post', '_bbp_total_reply_count', $count ); 784 register_meta( 'post', '_bbp_voice_count', $count );785 register_meta( 'post', '_bbp_anonymous_reply_count', $count );786 785 register_meta( 'post', '_bbp_topic_count_hidden', $count ); 787 786 register_meta( 'post', '_bbp_reply_count_hidden', $count ); 788 787 register_meta( 'post', '_bbp_forum_subforum_count', $count ); 789 788 789 // Topic 790 $count['object_subtype'] = bbp_get_topic_post_type(); 791 register_meta( 'post', '_bbp_reply_count', $count ); 792 register_meta( 'post', '_bbp_voice_count', $count ); 793 register_meta( 'post', '_bbp_anonymous_reply_count', $count ); 794 register_meta( 'post', '_bbp_reply_count_hidden', $count ); 795 790 796 /* User ***************************************************************/ 791 797 792 798 // Counts 799 $count['object_subtype'] = ''; 793 800 register_meta( 'user', '_bbp_topic_count', $count ); 794 801 register_meta( 'user', '_bbp_reply_count', $count );
Note: See TracChangeset
for help on using the changeset viewer.