retlehs/roots — pull request #165 by johnnypeck (2011-11-04 22:04:26+00:00)
Title: Fix register sidebars so child themes can unregister them.

Change to register sidebars using the widgets_init hook which allows a child theme to hook widgets_init with a higher priority so we can remove the sidebars. It also explicitly defines the id field to follow best practices so the id's aren't set to numeric by WordPress. Check out the following link for more info:

http://justintadlock.com/archives/2010/11/08/sidebars-in-wordpress