Changeset 1554943
- Timestamp:
- 12/14/2016 07:53:09 PM (9 years ago)
- File:
-
- 1 edited
-
fifthestate/trunk/settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fifthestate/trunk/settings.php
r1554881 r1554943 110 110 111 111 if ( 'POST' === $_SERVER['REQUEST_METHOD'] ) { 112 //case 1: you've just submitted a form113 if (isset($_POST['log_in'])) {114 //case 1.1: the form you submitted was the log in form115 116 if (check_admin_referer( 'fifthestate-login', 'login_nonce' )) {117 //the login nonce is verified118 } else {119 _e('<p>I suspect you are up to no good.</p>');120 }121 122 }123 112 // process the submission 124 113 foreach (FORM_DESCRIPTORS as $action => $descriptor) {
Note: See TracChangeset
for help on using the changeset viewer.