WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18285, comment 79


Ignore:
Timestamp:
09/11/12 21:58:15 (2 years ago)
Author:
CaptainN
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18285, comment 79

    initial v1  
    22https://github.com/adcSTUDIO/OnceForm/blob/master/WP_OnceForm.php 
    33 
    4 This automatically adds an nonce field to any form, and validates the request. I also reduced the PHP requirements (I was relying on ganon's __invoke usage, which only works on php 5.3 previously, but I changed it so it works on WP's target php version). 
     4This automatically adds an nonce field to any form, and validates the request. I also reduced the PHP requirements (I was relying on ganon's use of php's magic invoke method, which only works on php 5.3 previously, but I changed it so it works on WP's target php version).