diff --git a/src/wp-includes/class-wp-admin-bar.php b/src/wp-includes/class-wp-admin-bar.php index 915478e935..86b8a82d1c 100644 --- a/src/wp-includes/class-wp-admin-bar.php +++ b/src/wp-includes/class-wp-admin-bar.php @@ -87,7 +87,7 @@ class WP_Admin_Bar { * - parent - string - The ID of the parent node. Optional. * - href - string - The link for the item. Optional. * - group - boolean - If the node is a group. Optional. Default false. - * - meta - array - Meta data including the following keys: html, class, onclick, target, title, tabindex. + * - meta - array - Meta data including the following keys: html, class, onclick, target, title, tabindex, rel. */ public function add_node( $args ) { // Shim for old method signature: add_node( $parent_id, $menu_obj, $args ) @@ -438,6 +438,9 @@ class WP_Admin_Bar { if ( ! empty( $node->meta['title'] ) ) : ?> title="meta['title'] ); ?>"meta['rel'] ) ) : + ?> rel="meta['rel'] ); ?>">