Ticket #1791: patch.diff
File patch.diff, 691 bytes (added by , 13 years ago) |
---|
-
bbp-topic-template.php
3209 3209 * @return string Value of topic tags field 3210 3210 */ 3211 3211 function bbp_get_form_topic_tags() { 3212 3212 global $post; 3213 3213 3214 // Get _POST data 3214 3215 if ( 'post' == strtolower( $_SERVER['REQUEST_METHOD'] ) && isset( $_POST['bbp_topic_tags'] ) ) { 3215 3216 $topic_tags = $_POST['bbp_topic_tags']; 3216 3217 3217 3218 // Get edit data 3218 } elseif ( bbp_is_topic_edit() || bbp_is_reply_edit() ) {3219 } elseif ( !empty( $post ) ) { 3219 3220 3220 3221 // Determine the topic id based on the post type 3221 3222 switch ( get_post_type() ) {