ReOrder Post Within Categories
savePost_callBack Bug (1 post)

  1. sidneywidmer
    Posted 2 years ago #

    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).


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ReOrder Post Within Categories
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.