leovbranco/wp-snippets — pull request #1 by edyd (2014-01-14 14:20:40+00:00)
Title: Create add_slug_class_to_menu_item

add slug class to menu item

better than rely on page and post id system