get_sidebar(), get_header(), etc. should be refreshed — at Version 2
|Reported by:||Viper007Bond||Owned by:|
Description (last modified by SergeyBiryukov)
We should consolidate code and make get_sidebar() and it's compatriots use get_template_part().
While we're at it, these functions should support a subfolder argument so that sidebars can be stored in a "sidebar" folder for example.
AaronCampbell came up with this elegantly simple code on IRC: http://pastebin.com/xYjASLYe