Notice: Undefined index: post_type
-
Plugin works pretty good, but with debug on whenever I delete pages, wikis, categories, tags, menus or bulk edit content or add navigation menus I am getting the following Notice:
Notice: Undefined index: post_type in /path/wp-content/plugins/wordpress-wiki-plugin/wiki.php on line 1852
It has to do with the
name_save
function, but I cannot pinpoint what it can be:function name_save($post_name) { if ($_POST['post_type'] == 'incsub_wiki' && empty($post_name)) { $post_name = $_POST['post_title']; } return $post_name; }
Anyone else experiencing the same issue?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Notice: Undefined index: post_type’ is closed to new replies.