Docs: Improve the DocBlock summary and add a missing initial @since version for WP_Admin_Bar::add_node().

See #32246. See #35986.


git-svn-id: https://develop.svn.wordpress.org/trunk@36833 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-03-03 15:57:46 +00:00
parent 95f12701fb
commit 8424db5879

View File

@ -96,9 +96,11 @@ class WP_Admin_Bar {
}
/**
* Add a node to the menu.
* Adds a node to the menu.
*
* @since 3.1.0
* @since 4.5.0 Added the ability to pass 'lang' and 'dir' meta data.
* @access public
*
* @param array $args {
* Arguments for adding a node.