diff --git wp-includes/class-wp-admin-bar.php wp-includes/class-wp-admin-bar.php
index 7a3e032..60f99df 100644
|
|
class WP_Admin_Bar { |
57 | 57 | } |
58 | 58 | |
59 | 59 | public function remove_menu( $id ) { |
60 | | $this->remove_node( $id ); |
| 60 | return $this->remove_node( $id ); |
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
… |
… |
class WP_Admin_Bar { |
120 | 120 | } |
121 | 121 | |
122 | 122 | public function remove_node( $id ) { |
| 123 | $node = $this->nodes[ $id ]; |
123 | 124 | unset( $this->nodes[ $id ] ); |
| 125 | return get_object_vars( $node ); |
124 | 126 | } |
125 | 127 | |
126 | 128 | public function render() { |