Closed yvesh closed 8 years ago
That's how I know this plugin has broken single responsibility principle.
Move the check to the point just before the layout is actually rendered instead of removing it completely. There's still some markup in the layout not wrapped in conditionals that would be output even if you turned off every button.
Actually, should be before the URL shortener is invoked. As those are only used in the share buttons. But definitely after all the metadata is processed that check should be in place.
Haven't noticed any issues without that so far