=== Plugin Name ===
Contributors: valentinas
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=v%2ebakaitis%40gmail%2ecom&lc=LT&item_name=menu-item-ancestor&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted
Tags: menu, css, ancestor
Requires at least: 3.0
Tested up to: 3.0
Stable tag: 1.1

Adds a menu-item-ancestor class to every menu item that has descendants.

== Description ==

This plugin is for developers and designers who want to have a separate class for menu items with children.

This plugin adds a menu-item-ancestor class to every menu item that has descendants.

Alows to use CSS to style only those menu items, that has descendants. For example you can add different background or different hover behavior.

== Installation ==

1. Upload `menu-item-ancestor` folder or `menu-item-ancestor.php` file to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Use CSS menu-item-ancestor class to select and style menu items that have descendants


== Changelog ==

= 1.1 =
* Fixed the menu logic. The first version wrongly asumed that menu item stored it's parent in posts table, when it's actually is stored in postmeta table.

= 1.0 =
* Big bang. Time starts.