• sidneywidmer

    (@sidneywidmer)


    I found a bug where creating a new menu and/or saving menu entries throws a notice. I tracked the bug down to the reorder-posts-within-categories.php around line 175. There you try to access $orderedSettingOptions[‘categories_checked’][$post_type->name] no matter if it actually exists or not.

    When saving a Menu, $post_type->name equals to ‘nav_menu_item’ which then trows the error. To fix the Bug, just check if the array key exists first (array_key_exists).

    https://wordpress.org/plugins/reorder-post-within-categories/

  • The topic ‘savePost_callBack Bug’ is closed to new replies.