<?php wats_ticket_details_meta_box($post); ?> <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit update', 'WATS'); ?> " /> <?php comment_id_fields(); ?> </p> <?php do_action('comment_form', $post->ID); ?> </form> <?php } // If registration required and not logged in ?> </div> <?php } // if you delete this the sky will fall on your head } else { echo apply_filters('wats_get_ticket_update_rights_message_filter', wats_get_ticket_update_rights_message()); }
function wats_ticket_comments_closed() { echo apply_filters('wats_get_ticket_update_rights_message_filter', wats_get_ticket_update_rights_message()); return; }