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:
parent
95f12701fb
commit
8424db5879
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user