[wp-trac] [WordPress Trac] #2606: Edits to page containing form data displays some form code in WP edit page itself

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 29 02:56:01 GMT 2006


#2606: Edits to page containing form data displays some form code in WP edit page
itself
----------------------------+-----------------------------------------------
       Id:  2606            |      Status:  new                     
Component:  Administration  |    Modified:  Wed Mar 29 02:56:01 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  2.0.2                   
    Owner:  anonymous       |    Reporter:  dasspunk                
----------------------------+-----------------------------------------------
 I created a contact page (see code below) and save and everything is
 fine... but when I go to edit the page again, the last few lines of form
 code are missing and has become included in the WP edit page itself.

 Steps:
 1. Create a page
 2. Enter the contact form code below and save
 3. Edit contact page

 Occurs on WP 2.0.2
 Occurs in Safari and Firefox (latest)
 Does NOT occur on WP 1.5.2

 Form Code:

 {{{
 Use this form to email Mike and/or get on his mailing list.
 <form name="contact" method="GET" action="form_mail.php" onSubmit="return
 checkemail(this);">
 <p />
 Name:<br />
 <input type="text" name="name" maxlength="100" size="40"/><br />
 E-mail:<br />
 <input type="text" name="email" maxlength="200" size="40"/><br />
 Subject:<br />
 <input type="text" name="subject" maxlength="200" size="49"/><br />
 Message:<br />
 <textarea name="message" rows="10" cols="50" wrap="virtual"></textarea><br
 />
 <br />
 <input type="checkbox" name="add_me" />Add me to Mike&#8217;s Mailing
 list!</p>
 <p />
 <input type="submit" value="send it!"/> <input type="reset"
 value="reset"/><br />
 </form>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2606>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list