[buddypress-trac] [BuddyPress] #1927: BP 1.2-RC2 for WPs/u -- edit.php file broken with call to deprecated function

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Feb 12 21:08:42 UTC 2010


#1927: BP 1.2-RC2 for WPs/u -- edit.php file broken with call to deprecated
function
------------------------------------------------------+---------------------
Reporter:  snark                                      |       Owner:     
    Type:  defect                                     |      Status:  new
Priority:  major                                      |   Milestone:  1.2
Keywords:  forum edit, edit.php, deprecated function  |  
------------------------------------------------------+---------------------
 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?

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1927>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list