Opened 15 years ago
Closed 15 years ago
#1927 closed defect (bug) (fixed)
BP 1.2-RC2 for WPs/u -- edit.php file broken with call to deprecated function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | forum edit, edit.php, deprecated function | |
Cc: | snark |
Description
When trying to edit a forum post, here is the error message:
Fatal error: Call to undefined function: bp_has_topic_posts() in ../wp-content/plugins/buddypress/bp-themes/bp-default/groups/single/forum/edit.php on line 1
bp-forums-templatetags.php in RC2 noted that this function was deprecated on line 825 and after:
/* DEPRECATED use bp_has_forum_topic_posts() */ function bp_has_topic_posts() { return bp_has_forum_topic_posts( $args ); }
The groups/single/forum/edit.php file in both RC2 and RC3 begins with the same code,
<?php if ( bp_has_topic_posts() ) : ?>
So maybe this broke in RC2 and nobody caught it then?
Note: See
TracTickets for help on using
tickets.
Fixed in trunk.