core/Container/User_Meta_Container.php 1 location
|
@@ 43-54 (lines=12) @@
|
40 |
|
* |
41 |
|
* @return bool |
42 |
|
*/ |
43 |
|
public function is_valid_save() { |
44 |
|
if ( ! $this->is_profile_page() ) { |
45 |
|
return false; |
46 |
|
} |
47 |
|
|
48 |
|
if ( ! $this->verified_nonce_in_request() ) { |
49 |
|
return false; |
50 |
|
} |
51 |
|
|
52 |
|
$params = func_get_args(); |
53 |
|
return $this->is_valid_attach_for_object( $params[0] ); |
54 |
|
} |
55 |
|
|
56 |
|
/** |
57 |
|
* Perform save operation after successful is_valid_save() check. |
core/Container/Comment_Meta_Container.php 1 location
|
@@ 44-51 (lines=8) @@
|
41 |
|
* |
42 |
|
* @return bool |
43 |
|
*/ |
44 |
|
public function is_valid_save() { |
45 |
|
if ( ! $this->verified_nonce_in_request() ) { |
46 |
|
return false; |
47 |
|
} |
48 |
|
|
49 |
|
$params = func_get_args(); |
50 |
|
return $this->is_valid_attach_for_object( $params[0] ); |
51 |
|
} |
52 |
|
|
53 |
|
/** |
54 |
|
* Perform save operation after successful is_valid_save() check. |
core/Container/Nav_Menu_Item_Container.php 1 location
|
@@ 70-77 (lines=8) @@
|
67 |
|
* |
68 |
|
* @return bool |
69 |
|
*/ |
70 |
|
public function is_valid_save() { |
71 |
|
if ( ! $this->verified_nonce_in_request() ) { |
72 |
|
return false; |
73 |
|
} |
74 |
|
|
75 |
|
$params = func_get_args(); |
76 |
|
return $this->is_valid_attach_for_object( $params[0] ); |
77 |
|
} |
78 |
|
|
79 |
|
/** |
80 |
|
* Perform save operation after successful is_valid_save() check. |
core/Container/Term_Meta_Container.php 1 location
|
@@ 53-60 (lines=8) @@
|
50 |
|
* |
51 |
|
* @return bool |
52 |
|
*/ |
53 |
|
public function is_valid_save() { |
54 |
|
if ( ! $this->verified_nonce_in_request() ) { |
55 |
|
return false; |
56 |
|
} |
57 |
|
|
58 |
|
$params = func_get_args(); |
59 |
|
return $this->is_valid_attach_for_object( $params[0] ); |
60 |
|
} |
61 |
|
|
62 |
|
/** |
63 |
|
* Perform save operation after successful is_valid_save() check. |