Custom Header cropping code extraction
|Reported by:||ehg||Owned by:|
@miguelcsf and I are working on implementing cropping for the Customizer's Header section (which will address #21785). We wanted to extract some common code we copied from wp-admin/custom-header.php's step_3() into a class that we can use in both our own code and Appearance -> Header.
I've attached a patch which contains this new class, the refactored custom-header.php and a few tests.
Feedback would be greatly appreciated!