DEV: Don't return navigation item from addNavigationBarItem

No plugin or theme that I could find used the return value. Not
providing this to plugins affords us leeway to change the internals.
This commit is contained in:
Daniel Waterworth 2019-11-13 12:59:03 +00:00
parent 58b5d1434b
commit 13c5381027

View File

@ -785,7 +785,7 @@ class PluginApi {
};
}
return addNavItem(item);
addNavItem(item);
}
}