optimize admin bar integration with WP 3.8+