Couldn't the buttons parameter be completely removed by now:
```php
elgg_deprecated_notice("Use elgg_register_menu_item() to register for the title menu", 1.0);
php