core/Container/Comment_Meta_Container.php 1 location
|
@@ 44-50 (lines=7) @@
|
| 41 |
|
* |
| 42 |
|
* @return bool |
| 43 |
|
**/ |
| 44 |
|
public function is_valid_save() { |
| 45 |
|
if ( ! isset( $_REQUEST[ $this->get_nonce_name() ] ) || ! wp_verify_nonce( $_REQUEST[ $this->get_nonce_name() ], $this->get_nonce_name() ) ) { // Input var okay. |
| 46 |
|
return false; |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
return true; |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
/** |
| 53 |
|
* Add meta box to the comment |
core/Container/Theme_Options_Container.php 1 location
|
@@ 81-87 (lines=7) @@
|
| 78 |
|
* |
| 79 |
|
* @return bool |
| 80 |
|
**/ |
| 81 |
|
public function is_valid_save() { |
| 82 |
|
if ( ! isset( $_POST[ $this->get_nonce_name() ] ) || ! wp_verify_nonce( $_POST[ $this->get_nonce_name() ], $this->get_nonce_name() ) ) { // Input var okay. |
| 83 |
|
return false; |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
return true; |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
/** |
| 90 |
|
* Add theme options container pages. |