[wp-trac] [WordPress Trac] #9140: Using page to get form data broken in 2.7

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 15 16:24:34 GMT 2009


#9140: Using page to get form data broken in 2.7
---------------------------+------------------------------------------------
 Reporter:  benjamin.lupu  |       Owner:  anonymous                       
     Type:  defect (bug)   |      Status:  new                             
 Priority:  normal         |   Milestone:  2.8                             
Component:  Template       |     Version:  2.7                             
 Severity:  major          |    Keywords:  form,template,page,submit,custom
---------------------------+------------------------------------------------
 Up to the 2.6.5, the following works :
 - Use a page permalink as action for a form (eg. embedded into the sidebar
 or in another page)
 - $_POST catches form data without problem
 - In order to do so, you have to create a page template for your theme
 with the correct PHP code to get the data

 The same procedure doesn't work anymore in the 2.7 (and the 2.7.1).

 - $_POST is always empty

 This feature is very handy to create simple forms (eg. contact form)
 respecting Wordpress native mechanisms.

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


More information about the wp-trac mailing list