| ... | ... |
@@ -245,6 +245,9 @@ class Class_Rucy_Editer {
|
| 245 | 245 |
if( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
|
| 246 | 246 |
return; |
| 247 | 247 |
} |
| 248 |
+ if ( !isset( $_POST['post_type'] ) ) {
|
|
| 249 |
+ return; |
|
| 250 |
+ } |
|
| 248 | 251 |
$accept_post_types = $component->get_support_post_type(); |
| 249 | 252 |
if ( !in_array( $_POST['post_type'], $accept_post_types ) ) {
|
| 250 | 253 |
return; |