Much of this function was indented with both tabs and spaces, hence the apparent difference in this diff. All of the file should now consistently indent with tabs, and align with spaces, as per WP code standard.