Opened 16 years ago
Closed 16 years ago
#9140 closed defect (bug) (worksforme)
Using page to get form data broken in 2.7
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 2.7 |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Please share example Page Template and plugin code you are using so we can reproduce your issue.