Skip to:
Content

bbPress.org

Changeset 3584


Ignore:
Timestamp:
11/03/2011 04:31:48 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Check the post_content instead of post_title in forum & topic content form functions.

Location:
branches/plugin/bbp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-forum-template.php

    r3571 r3584  
    18151815
    18161816        // Get edit data
    1817         elseif ( !empty( $post->post_title ) && bbp_is_forum_edit() )
     1817        elseif ( !empty( $post->post_content ) && bbp_is_forum_edit() )
    18181818            $forum_content = $post->post_content;
    18191819
  • branches/plugin/bbp-includes/bbp-topic-template.php

    r3572 r3584  
    31113111
    31123112        // Get edit data
    3113         elseif ( !empty( $post->post_title ) && bbp_is_topic_edit() )
     3113        elseif ( !empty( $post->post_content ) && bbp_is_topic_edit() )
    31143114            $topic_content = $post->post_content;
    31153115
Note: See TracChangeset for help on using the changeset viewer.