bbpress forum adds html\php #13

Open
basanoviat opened this Issue Oct 9, 2013 · 1 comment

1 participant

@basanoviat

I just started using your theme and I found a problem every time I edit a forum post it adds a lot of php\html from the website which is a huge issue. Can you take a look?

@basanoviat

this is the start of the forum post when i click edit. it starts on this line below and continues past the actual posted data (listed in the middle below) and ends with a bunch of other PHP/HTML code.

HomeForumsFFXIV ARR Bot ForumCrafting Bot › What I'd love to see in crafting bot
<div class="bbp-template-notice info"><p class="bbp-topic-description">This topic contains 1 reply, has 2 voices, and was last updated by <a href="http://domain.com/forums/users/username/" title="View username&#039;s profile" class="bbp-author-avatar" rel="nofollow"><img src="http://i1.wp.com/domain.com/wp-content/uploads/2013/09/Cloud_Strife_art1.jpg?fit=14%2C14" width="" height="" alt="username" class="avatar avatar-14 wp-user-avatar wp-user-avatar-14 alignnone photo" /></a>&nbsp;<a href="http://domain.com/forums/users/username/" title="View username&#039;s profile" class="bbp-author-name" rel="nofollow">username</a> <a href="http://domain.com/forums/topic/what-id-love-to-see-in-crafting-bot/#post-633" title="Reply To: What I&#039;d love to see in crafting bot">1 day, 22 hours ago</a>.

<div id="new-topic-631" class="bbp-topic-form">

    <form id="new-post" name="new-post" method="post" action="http://domain.com/forums/topic/what-id-love-to-see-in-crafting-bot/">


        <fieldset class="bbp-form">
            <legend>

                Now Editing &ldquo;What I&#039;d love to see in crafting bot&rdquo;
            </legend>




                <div class="bbp-template-notice">
                    Your account has the ability to post unrestricted HTML content.

                </div>



            <div>





                    <label for="bbp_topic_title">Topic Title (Maximum Length: 80):</label>
                    <input type="text" id="bbp_topic_title" value="What I&#039;d love to see in crafting bot" tabindex="101" size="40" name="bbp_topic_title" maxlength="80" />





                <div class="bbp-the-content-wrapper"><div id="wp-bbp_topic_content-wrap" class="wp-core-ui wp-editor-wrap html-active"><link rel='stylesheet' id='editor-buttons-css'  href='http://domain.com/wp-includes/css/editor.min.css?ver=3.6.1' type='text/css' media='all' />
REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE REAL POST DATA IS LISTED HERE

                        <label for="bbp_topic_tags">Topic Tags:</label>
                        <input type="text" value="" tabindex="103" size="40" name="bbp_topic_tags" id="bbp_topic_tags"  />








                        <label for="bbp_forum_id">Forum:</label>
                        <select name="bbp_forum_id" id="bbp_forum_id" tabindex="104">
<option value="" class="level-0">(No Forum)</option><option class="level-0" value="167">Admin Blocked</option>

Forum
   Crafting
   Gathering
      Botany
      Mining
   Bug Reports
   Bug Archive
   General Discussion

                        <label for="bbp_stick_topic">Topic Type:</label>


    <select name="bbp_stick_topic" id="bbp_stick_topic_select" tabindex="105">


            <option value="unstick" selected='selected'>Normal</option>


            <option value="stick">Sticky</option>


            <option value="super">Super Sticky</option>


    </select>









                        <label for="bbp_topic_status">Topic Status:</label>


    <select name="bbp_topic_status" id="bbp_topic_status_select" tabindex="106">


            <option value="publish" selected='selected'>Open</option>


            <option value="closed">Closed</option>


            <option value="spam">Spam</option>


            <option value="trash">Trash</option>


            <option value="pending">Pending</option>


    </select>










                        <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"  tabindex="107" />


                            <label for="bbp_topic_subscription">Notify the author of follow-up replies via email</label>








                    <fieldset class="bbp-form">
                        <legend>
                            <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1"  checked='checked' tabindex="108" />
                            <label for="bbp_log_topic_edit">Keep a log of this edit:</label>
                        </legend>

                        <div>
                            <label for="bbp_topic_edit_reason">Optional reason for editing:</label>
                            <input type="text" value="" tabindex="109" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
                        </div>
                    </fieldset>



                <div class="bbp-template-notice">
Maximum file size allowed is 2048 KB.




Attachments:




Add another file

                <div class="bbp-submit-wrapper">


                    <button type="submit" tabindex="110" id="bbp_topic_submit" name="bbp_topic_submit" class="button submit">Submit</button>


                </div>


            </div>


    <input type="hidden" name="action"       id="bbp_post_action" value="bbp-edit-topic" />
    <input type="hidden" name="bbp_topic_id" id="bbp_topic_id"    value="631" />

    <input type="hidden" id="_bbp_unfiltered_html_topic" name="_bbp_unfiltered_html_topic" value="2b0cf60dc5" />
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="20766586a5" /><input type="hidden" name="_wp_http_referer" value="/forums/topic/what-id-love-to-see-in-crafting-bot/edit/" />
        </fieldset>


    </form>
</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment